Skip to content

Commit

Permalink
[hotfix] 키 불러오는 모듈 main으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Oct 29, 2024
1 parent 809268a commit 55899e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public final class AppleLoginController: NSObject, ASAuthorizationControllerDele

extension AppleLoginController {
func makeJWT() -> String {
guard let appleKey = Bundle.module.object(forInfoDictionaryKey: "AppleKeyID") as? String else { return "" }
guard let appleKey = Bundle.main.object(forInfoDictionaryKey: "AppleKeyID") as? String else { return "" }
let header = Header(kid: appleKey)
struct PokitClaims: Claims {
let iss: String
Expand All @@ -93,7 +93,7 @@ extension AppleLoginController {

let iat = Int(Date().timeIntervalSince1970)
let exp = iat + 3600
guard let iss = Bundle.module.object(forInfoDictionaryKey: "TeamID") as? String else { return "" }
guard let iss = Bundle.main.object(forInfoDictionaryKey: "TeamID") as? String else { return "" }
let claims = PokitClaims(
iss: iss,
iat: iat,
Expand Down

0 comments on commit 55899e1

Please sign in to comment.