File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public class PropertyListUserRepository : UserRepositoryProtocol {
7878
7979 private func read( userUUID: UUID ) -> User ? {
8080 let userId = userUUID. uuidString
81- let url = self . usersDirectory. appendingPathComponent ( userId, isDirectory: false )
81+ let url = self . usersDirectory. appendingPathComponent ( userId, isDirectory: false ) . appendingPathExtension ( " plist " )
8282 return self . read ( url: url)
8383 }
8484
@@ -114,7 +114,7 @@ public class PropertyListUserRepository : UserRepositoryProtocol {
114114
115115 private func getURL( user: User ) -> URL ? {
116116 let userId = user. id
117- return self . usersDirectory. appendingPathComponent ( userId. uuidString, isDirectory: false )
117+ return self . usersDirectory. appendingPathComponent ( userId. uuidString, isDirectory: false ) . appendingPathExtension ( " plist " )
118118 }
119119
120120 private var usersIndexURL : URL {
You can’t perform that action at this time.
0 commit comments