From fcb5275dc8fb785b5da943d257f0a2dd6838872d Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Sun, 2 Jul 2023 14:26:21 +0200 Subject: [PATCH] Use download of default servers (IOS-171) --- .../MastodonCore/Service/API/APIService+Onboarding.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Onboarding.swift b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Onboarding.swift index 3af6a030e..d554e9d62 100644 --- a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Onboarding.swift +++ b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Onboarding.swift @@ -33,4 +33,8 @@ extension APIService { public func languages() -> AnyPublisher, Error> { return Mastodon.API.Onboarding.languages(session: session) } + + public func defaultServers() -> AnyPublisher, Error> { + return Mastodon.API.Onboarding.defaultServers(session: session) + } }