Skip to content

Commit

Permalink
fix: MyUserDefaults memberId, userName Type Annotation String으로 수정 (#700
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Do-hyun-Kim authored Nov 6, 2024
1 parent b9add61 commit 5878518
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final public class MyUserDefaults: MyUserDefaultsType {

public func loadMemberId() -> String? {
guard
let memberId: String? = userDefaults[.memberId]
let memberId: String = userDefaults[.memberId]
else { return nil }
return memberId
}
Expand All @@ -46,7 +46,7 @@ final public class MyUserDefaults: MyUserDefaultsType {

public func loadUserName() -> String? {
guard
let userName: String? = userDefaults[.userName]
let userName: String = userDefaults[.userName]
else { return nil }
return userName
}
Expand Down

0 comments on commit 5878518

Please sign in to comment.