Skip to content

Commit

Permalink
Merge branch 'DY' into Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
doyeonk429 committed Nov 29, 2024
2 parents f983ede + 1310cc9 commit 01f92f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,7 @@ extension SelectLoginTypeVC : ASAuthorizationControllerDelegate {
if let identityTokenString = String(data: identityToken, encoding: .utf8) {
SelectLoginTypeVC.keychain.set(identityTokenString, forKey: "AppleIDToken")
print("idToken: \(identityTokenString)")
guard let authCode = authorizationCode else {
print("authCode 발급 실패")
return }
guard let data = setupAppleDTO(identityTokenString, authCode) else { return }
guard let data = setupAppleDTO(identityTokenString, authorizationCode ?? "") else { return }
callAppleLoginAPI(param: data) { isSuccess, isNewUser in
if isSuccess {
if isNewUser {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class CertificationSuccessVC: UIViewController {
self.deleteDrugs(self.setupDeleteDrugDTO([selectPrescriptionId])) { isSuccess in
if isSuccess {
SelectDiscardPrescriptionDrugVC.targetDrugId = nil
// 이거 타입 추가해달라고 요청드리기!
self.postSuccessPoint(data: self.setupData(point: 150, type: "DRUG_PHOTO_CERTIFICATION", location: Constants.currentPosition)) { isSuccess, getBadge in
if isSuccess {
if let getBadge = getBadge {
Expand Down

0 comments on commit 01f92f4

Please sign in to comment.