Made user session store base directory lazy, logging it for easier de… (#197)

* Made user session store base directory lazy, logging it for easier debugging

* Make baseDirectory private set, expose it instead of the baseDirectoryPath.
This commit is contained in:
Stefan Ceriu
2022-09-22 13:10:23 +03:00
committed by GitHub
parent e7eeac0424
commit a807301746
3 changed files with 22 additions and 20 deletions
@@ -34,7 +34,7 @@ class AuthenticationServiceProxy: AuthenticationServiceProxyProtocol {
init(userSessionStore: UserSessionStoreProtocol) {
self.userSessionStore = userSessionStore
authenticationService = AuthenticationService(basePath: userSessionStore.baseDirectoryPath)
authenticationService = AuthenticationService(basePath: userSessionStore.baseDirectory.path)
}
// MARK: - Public