Skip to content

Commit

Permalink
[Fix] #252 - AppGroup의 accessToken도 함께 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Jun 26, 2024
1 parent d79f132 commit e790087
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iOS-NOTTODO/iOS-NOTTODO/Global/Enum/KeychainUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public final class KeychainUtil {
}
static func setAccessToken(_ token: String) {
UserDefaults.standard.setValue(token, forKey: DefaultKeys.accessToken)
UserDefaults.shared?.setValue(token, forKey: DefaultKeys.accessToken)
}
static func setFcmToken(_ token: String) {
UserDefaults.standard.setValue(token, forKey: DefaultKeys.fcmToken)
Expand Down

0 comments on commit e790087

Please sign in to comment.