Cleanup
This commit is contained in:
parent
76f6f7e86e
commit
dc22b43108
|
@ -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
|
||||
|
|
|
@ -71,7 +71,6 @@ public extension IdentityService {
|
|||
func refreshAnnouncements() -> AnyPublisher<Never, Error> {
|
||||
mastodonAPIClient.request(AnnouncementsEndpoint.announcements)
|
||||
.flatMap(contentDatabase.update(announcements:))
|
||||
.print()
|
||||
.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue