diff --git a/src/libs/Fullstory/index.native.ts b/src/libs/Fullstory/index.native.ts index 67d7c7f2fe90..d26d449b5fd9 100644 --- a/src/libs/Fullstory/index.native.ts +++ b/src/libs/Fullstory/index.native.ts @@ -35,7 +35,7 @@ const FS = { * If the metadata is null or the email is 'undefined', the user identity is anonymized. * If the metadata contains an accountID, the user identity is defined with it. */ - fsIdentify: (metadata: UserMetadata | null) => { + fsIdentify: (metadata: OnyxEntry) => { if (!metadata?.accountID) { // anonymize FullStory user identity metadata FullStory.anonymize(); diff --git a/src/libs/Fullstory/index.ts b/src/libs/Fullstory/index.ts index 5b60f20f9ddf..24c725acf81a 100644 --- a/src/libs/Fullstory/index.ts +++ b/src/libs/Fullstory/index.ts @@ -76,7 +76,7 @@ const FS = { * If the metadata does not contain an email, the user identity is anonymized. * If the metadata contains an accountID, the user identity is defined with it. */ - fsIdentify: (metadata: UserMetadata | null) => { + fsIdentify: (metadata: OnyxEntry) => { if (!metadata?.accountID) { // anonymize FullStory user identity metadata FS.anonymize();