Kurdtvs-Live-Kurdish-TV-Kur.../Mastodon/Service/APIService/APIService+CustomEmoji.swift

23 lines
480 B
Swift
Raw Normal View History

2021-03-15 07:40:10 +01:00
//
// APIService+CustomEmojiViewModel.swift
2021-03-15 07:40:10 +01:00
// Mastodon
//
// Created by MainasuK Cirno on 2021-3-15.
//
import Foundation
import Combine
import CoreData
import CoreDataStack
import CommonOSLog
import DateToolsSwift
import MastodonSDK
extension APIService {
func customEmoji(domain: String) -> AnyPublisher<Mastodon.Response.Content<[Mastodon.Entity.Emoji]>, Error> {
return Mastodon.API.CustomEmojis.customEmojis(session: session, domain: domain)
}
}