Skip to content

Commit

Permalink
Merge branch 'feat/#465-signup' into feat/#467-signup_ui
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsplit committed Jan 5, 2025
2 parents 0ec7dda + 526ef2c commit 1576f0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Moya

public enum SocialAPI {
case getSocialAccount(phone: String)
case changeSocialAccount(entity: ChangeSocialAccountEntity)
case changeSocialAccount(dto: ChangeSocialAccountEntity)
}

extension SocialAPI: BaseAPI {
Expand Down Expand Up @@ -54,9 +54,5 @@ extension SocialAPI: BaseAPI {
return .requestJSONEncodable(entity)
}
}

public var validationType: ValidationType {
return .none
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ public struct ChangeSocialAccountEntity: Encodable {
self.authPlatform = authPlatform
self.code = code
}

}


public extension ChangeSocialAccountEntity {
static let stub: ChangeSocialAccountEntity = .init(phone: "01011111111", authPlatform: .apple, code: "code")
}

0 comments on commit 1576f0b

Please sign in to comment.