Skip to content

Commit

Permalink
lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Jun 6, 2024
1 parent 021e999 commit 9cff196
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/libs/Fullstory/index.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ const FS = {
} else {
Environment.getEnvironment().then((envName: string) => {
// define FullStory user identity
metadata.environment = envName;
let localMetadata = metadata;
localMetadata.environment = envName;
FullStory.identify(String(metadata.accountID), {
properties: metadata,
properties: localMetadata,
});
});
}
Expand Down
5 changes: 3 additions & 2 deletions src/libs/Fullstory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ const FS = {
FS.onReady().then(() => {
FS.consent(true);
if (value) {
value.environment = envName;
let localMetadata = value;
localMetadata.environment = envName;
FS.fsIdentify(value);
}
FS.fsIdentify(value);
});
});
} catch (e) {
Expand Down

0 comments on commit 9cff196

Please sign in to comment.