Skip to content

Commit

Permalink
Merge pull request #42646 from Expensify/dsilva_fixbuildIssuesOnMain
Browse files Browse the repository at this point in the history
Using OnyxEntry instead of explicit type

(cherry picked from commit 9a87ce9)
  • Loading branch information
puneetlath authored and OSBotify committed May 27, 2024
1 parent 9467a10 commit e76372e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/Fullstory/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserMetadata>) => {
if (!metadata?.accountID) {
// anonymize FullStory user identity metadata
FullStory.anonymize();
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Fullstory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserMetadata>) => {
if (!metadata?.accountID) {
// anonymize FullStory user identity metadata
FS.anonymize();
Expand Down

0 comments on commit e76372e

Please sign in to comment.