마이페이지 추가

This commit is contained in:
Yu Sung
2023-08-10 16:14:12 +09:00
parent 80ff04f825
commit d06f4d6a36
40 changed files with 979 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
//
// AuthRepository.swift
// SodaLive
//
// Created by klaus on 2023/08/10.
//
import Foundation
import CombineMoya
import Combine
import Moya
final class AuthRepository {
private let api = MoyaProvider<AuthApi>()
func authCertificate(receiptId: String) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.auth(request: AuthVerifyRequest(receiptId: receiptId)))
}
}