Skip to content

Commit

Permalink
changing from let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Jun 6, 2024
1 parent 0a2922c commit d833d4c
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 @@ -43,7 +43,7 @@ const FS = {
} else {
Environment.getEnvironment().then((envName: string) => {
// define FullStory user identity
let localMetadata = metadata;
const localMetadata = metadata;
localMetadata.environment = envName;
FullStory.identify(String(localMetadata.accountID), {
properties: localMetadata,
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 @@ -64,7 +64,7 @@ const FS = {
FS.onReady().then(() => {
FS.consent(true);
if (value) {
let localMetadata = value;
const localMetadata = value;
localMetadata.environment = envName;
FS.fsIdentify(localMetadata);
}
Expand Down

0 comments on commit d833d4c

Please sign in to comment.