Skip to content

Commit 43c15f0

Browse files
committed
fix(adobe-kit): null-safe current user identities lookup
Use a safe-call when reading currentUser.userIdentities during ID sync to avoid NPE when no current user is available. Made-with: Cursor
1 parent 3bbc708 commit 43c15f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kits/adobe/adobe-5/src/main/kotlin/com/mparticle/kits/AdobeKitBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ abstract class AdobeKitBase :
140140
dcsRegion,
141141
pushId,
142142
gaid,
143-
currentUser.userIdentities ?: emptyMap(),
143+
currentUser?.userIdentities ?: emptyMap(),
144144
)
145145
}
146146

0 commit comments

Comments
 (0)