Skip to content

Commit

Permalink
lint: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-roland committed Sep 6, 2024
1 parent d0c4c5f commit 39a66aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export class ProfileModule implements BatchSDK.ProfileModule {
}

identify(identifier: string | null): void {
if (typeof identifier === 'undefined') {
writeBatchLog(
false,
"BatchProfile - Identifier cannot be undefined, please use explicit null if you want to logout. Aborting."
);
if (typeof identifier === "undefined") {
writeBatchLog(
false,
"BatchProfile - Identifier cannot be undefined, please use explicit null if you want to logout. Aborting."
);
return;
}
sendToBridge(null, Profile.Identify, [{ custom_user_id: identifier }]);
Expand Down

0 comments on commit 39a66aa

Please sign in to comment.