From 578a32860509b4b28e1e66698e96163d14667947 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Mon, 27 May 2024 17:47:56 +0200 Subject: [PATCH] using OnyxEntry instead of explicit type --- src/libs/Fullstory/index.native.ts | 2 +- src/libs/Fullstory/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();