This commit is contained in:
Justin Mazzocchi 2021-01-15 21:55:27 -08:00
parent 76f6f7e86e
commit dc22b43108
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -71,7 +71,6 @@ public extension IdentityService {
func refreshAnnouncements() -> AnyPublisher<Never, Error> {
mastodonAPIClient.request(AnnouncementsEndpoint.announcements)
.flatMap(contentDatabase.update(announcements:))
.print()
.eraseToAnyPublisher()
}