Skip to content

Commit

Permalink
category not required - rn
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-aman committed Sep 2, 2024
1 parent face243 commit ed91f99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/customerio-cdp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ export class CustomerIO {

static readonly screen = async (
title: string,
category?: string,
properties?: Record<string, any>
) => {
CustomerIO.assrtInitialized();
if (!title) {
throw new Error('You must provide a name to screen');
}
return NativeCustomerIO.screen(title, category, properties);
return NativeCustomerIO.screen(title, properties);
};

static readonly setProfileAttributes = async (
Expand Down

0 comments on commit ed91f99

Please sign in to comment.