Skip to content

Commit 2b90b52

Browse files
formatting fixes
1 parent 6689c9c commit 2b90b52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Cache/Cache.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ actor Cache {
4242

4343
private func initializeCacheProvider() {
4444
let identifier = contructCacheIdentifier()
45-
45+
4646
guard identifier.isEmpty == false else {
4747
DataConnectLogger.error("CacheIdentifier is empty. Caching is disabled")
4848
return
@@ -72,7 +72,7 @@ actor Cache {
7272
DataConnectLogger.error("Unable to setup auth change listeners since DataConnect is nil")
7373
return
7474
}
75-
75+
7676
authChangeListenerProtocol = Auth.auth(app: dataConnect.app).addStateDidChangeListener { _, _ in
7777
self.initializeCacheProvider()
7878
}
@@ -84,7 +84,7 @@ actor Cache {
8484
DataConnectLogger.error("Unable to construct a cache identifier since DataConnect is nil")
8585
return ""
8686
}
87-
87+
8888
let identifier =
8989
"\(config.storage)-\(dataConnect.app.options.projectID!)-\(dataConnect.app.name)-\(dataConnect.connectorConfig.serviceId)-\(dataConnect.connectorConfig.connector)-\(dataConnect.connectorConfig.location)-\(Auth.auth(app: dataConnect.app).currentUser?.uid ?? "anon")-\(dataConnect.settings.host)"
9090
let encoded = identifier.sha256

0 commit comments

Comments
 (0)