Use download of default servers (IOS-171)

This commit is contained in:
Nathan Mattes 2023-07-02 14:26:21 +02:00
parent 18895a373b
commit fcb5275dc8
1 changed files with 4 additions and 0 deletions

View File

@ -33,4 +33,8 @@ extension APIService {
public func languages() -> AnyPublisher<Mastodon.Response.Content<[Mastodon.Entity.Language]>, Error> {
return Mastodon.API.Onboarding.languages(session: session)
}
public func defaultServers() -> AnyPublisher<Mastodon.Response.Content<[Mastodon.Entity.DefaultServer]>, Error> {
return Mastodon.API.Onboarding.defaultServers(session: session)
}
}