Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 committed Oct 10, 2024
1 parent 20349fc commit 6189f6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/customerio-cdp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export class CustomerIO {
CustomerIO.initialized = true;
};

static readonly identify = async ({ userId, traits }: IdentifyParams = {}) => {
static readonly identify = async ({
userId,
traits,
}: IdentifyParams = {}) => {
CustomerIO.assrtInitialized();
if (!userId && !traits) {
throw new Error('You must provide an id or traits to identify');
Expand Down

0 comments on commit 6189f6f

Please sign in to comment.