Skip to content

Commit b68ec31

Browse files
authored
Fix migration guide for disabling browser sessions (#12810)
1 parent fa4a4ba commit b68ec31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-includes/configuration/auto-session-tracking/javascript.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ To disable sending sessions, disable the `BrowserSession` integration:
77

88
```javascript
99
Sentry.init({
10-
defaultIntegrations: (integrations) => {
11-
return integrations.filter(
10+
integrations: (defaultIntegrations) => {
11+
return defaultIntegrations.filter(
1212
(integration) => integration.name !== "BrowserSession"
1313
);
1414
},

0 commit comments

Comments
 (0)