diff --git a/Mastodon/Sources/Mastodon/Entities/Poll.swift b/Mastodon/Sources/Mastodon/Entities/Poll.swift index 08e80a9..c7639d3 100644 --- a/Mastodon/Sources/Mastodon/Entities/Poll.swift +++ b/Mastodon/Sources/Mastodon/Entities/Poll.swift @@ -9,7 +9,7 @@ public struct Poll: Codable, Hashable { } public let id: Id - public let expiresAt: Date + public let expiresAt: Date? public let expired: Bool public let multiple: Bool public let votesCount: Int diff --git a/ServiceLayer/Sources/ServiceLayer/Services/IdentityService.swift b/ServiceLayer/Sources/ServiceLayer/Services/IdentityService.swift index 3ad54e6..92fb293 100644 --- a/ServiceLayer/Sources/ServiceLayer/Services/IdentityService.swift +++ b/ServiceLayer/Sources/ServiceLayer/Services/IdentityService.swift @@ -71,7 +71,6 @@ public extension IdentityService { func refreshAnnouncements() -> AnyPublisher { mastodonAPIClient.request(AnnouncementsEndpoint.announcements) .flatMap(contentDatabase.update(announcements:)) - .print() .eraseToAnyPublisher() }