Skip to content

Commit e76372e

Browse files
puneetlathOSBotify
authored andcommitted
Merge pull request #42646 from Expensify/dsilva_fixbuildIssuesOnMain
Using OnyxEntry instead of explicit type (cherry picked from commit 9a87ce9)
1 parent 9467a10 commit e76372e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libs/Fullstory/index.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const FS = {
3535
* If the metadata is null or the email is 'undefined', the user identity is anonymized.
3636
* If the metadata contains an accountID, the user identity is defined with it.
3737
*/
38-
fsIdentify: (metadata: UserMetadata | null) => {
38+
fsIdentify: (metadata: OnyxEntry<UserMetadata>) => {
3939
if (!metadata?.accountID) {
4040
// anonymize FullStory user identity metadata
4141
FullStory.anonymize();

src/libs/Fullstory/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const FS = {
7676
* If the metadata does not contain an email, the user identity is anonymized.
7777
* If the metadata contains an accountID, the user identity is defined with it.
7878
*/
79-
fsIdentify: (metadata: UserMetadata | null) => {
79+
fsIdentify: (metadata: OnyxEntry<UserMetadata>) => {
8080
if (!metadata?.accountID) {
8181
// anonymize FullStory user identity metadata
8282
FS.anonymize();

0 commit comments

Comments
 (0)