Skip to content

Commit 109f872

Browse files
committed
Fix Metadata model schema
1 parent 1bc9de7 commit 109f872

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/DropboxClient/Metadata.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public struct Metadata: Sendable, Equatable, Identifiable {
1111
name: String,
1212
pathDisplay: String,
1313
pathLower: String,
14-
clientModified: Date,
15-
serverModified: Date,
16-
isDownloadable: Bool
14+
clientModified: Date?,
15+
serverModified: Date?,
16+
isDownloadable: Bool?
1717
) {
1818
self.tag = tag
1919
self.id = id
@@ -30,9 +30,9 @@ public struct Metadata: Sendable, Equatable, Identifiable {
3030
public var name: String
3131
public var pathDisplay: String
3232
public var pathLower: String
33-
public var clientModified: Date
34-
public var serverModified: Date
35-
public var isDownloadable: Bool
33+
public var clientModified: Date?
34+
public var serverModified: Date?
35+
public var isDownloadable: Bool?
3636
}
3737

3838
extension Metadata: Codable {

0 commit comments

Comments
 (0)