Skip to content

Commit

Permalink
Fix option passing to init call
Browse files Browse the repository at this point in the history
  • Loading branch information
ccschmitz committed May 16, 2024
1 parent 8afc81b commit d75dced
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ module.exports = {
options: {
orgID: 'MY_ORG_ID',
// See all the options here: https://www.highlight.io/docs/sdk/client#options
disableNetworkRecording: false,
disableConsoleRecording: false,
enableStrictPrivacy: false,
disableNetworkRecording: false,
disableConsoleRecording: false,
enableStrictPrivacy: false,
environment: 'production',
version: '5.2.3',
networkRecording: true,
version: '5.2.3',
networkRecording: true,
}
},
]
Expand Down
2 changes: 1 addition & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Highlight = require("highlight.run");
exports.onClientEntry = (_, pluginOptions) => {
const { orgID, plugins, ...options } = pluginOptions;

Highlight.H.init(orgID, options.options);
Highlight.H.init(orgID, options);

// @ts-ignore
window.H = Highlight.H;
Expand Down

0 comments on commit d75dced

Please sign in to comment.