Skip to content

Commit e852271

Browse files
committed
style: Add missing closing bracket for function definition
1 parent 2c80e22 commit e852271

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/adapters/ecommerce.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,4 @@ export default async (tracker: SnowplowTracker): Promise<void> => {
215215
break;
216216
}
217217
};
218+
}

src/shared/utils/get-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const getContext = (): QueryStringContext => {
1717
return {
1818
appId: appId || mediajelAppId, // Legacy support for old universal tag
1919
version: version || "1", // tracker version
20-
environment: environment,
20+
environment: params.environment || "production",
2121
collector: params.test ? process.env.MJ_STAGING_COLLECTOR_URL : process.env.MJ_PRODUCTION_COLLECTOR_URL,
2222
// Regex mainly used to remove the "&amp;" and the '\\"' from the outerHTML
2323
tag: target.outerHTML.replace(/&amp;/g, "&").replace(/\\"/g, '"'),

0 commit comments

Comments
 (0)