Skip to content

Commit 1a4cc8a

Browse files
committed
✅ Fixed lint issue
1 parent c1aed93 commit 1a4cc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-sdk/Internal/AnonymousUserManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public class AnonymousUserManager: AnonymousUserManagerProtocol {
172172
}
173173

174174
if var userUpdate = localStorage.anonymousUserUpdate {
175-
if let eventType = userUpdate[JsonKey.eventType] as? String {
175+
if userUpdate[JsonKey.eventType] is String {
176176
userUpdate.removeValue(forKey: JsonKey.eventType)
177177
}
178178

0 commit comments

Comments
 (0)