휴대폰 결제가 아닌경우 user설정을 하도록 수정
This commit is contained in:
parent
313af1949e
commit
6884a060e4
|
@ -55,7 +55,7 @@ final class CanPgPaymentViewModel: ObservableObject {
|
|||
payload.orderId = "\(data.chargeId)"
|
||||
payload.method = paymentMethod!.rawValue
|
||||
|
||||
if paymentMethod == .phone {
|
||||
if paymentMethod != .phone {
|
||||
let bootUser = BootUser()
|
||||
bootUser.userId = "\(UserDefaults.int(forKey: .userId))"
|
||||
bootUser.username = UserDefaults.string(forKey: .nickname)
|
||||
|
|
Loading…
Reference in New Issue