Make attachment preview url optional

This commit is contained in:
Justin Mazzocchi 2020-09-22 18:46:33 -07:00
parent ca96821906
commit 608963567f
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -36,7 +36,7 @@ public struct Attachment: Codable, Hashable {
public let type: AttachmentType
public let url: URL
public let remoteUrl: URL?
public let previewUrl: URL
public let previewUrl: URL?
public let textUrl: URL?
public let meta: Meta?
public let description: String?