We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0c4c5f commit 39a66aaCopy full SHA for 39a66aa
src/modules/profile.ts
@@ -13,11 +13,11 @@ export class ProfileModule implements BatchSDK.ProfileModule {
13
}
14
15
identify(identifier: string | null): void {
16
- if (typeof identifier === 'undefined') {
17
- writeBatchLog(
18
- false,
19
- "BatchProfile - Identifier cannot be undefined, please use explicit null if you want to logout. Aborting."
20
- );
+ if (typeof identifier === "undefined") {
+ writeBatchLog(
+ false,
+ "BatchProfile - Identifier cannot be undefined, please use explicit null if you want to logout. Aborting."
+ );
21
return;
22
23
sendToBridge(null, Profile.Identify, [{ custom_user_id: identifier }]);
0 commit comments