Skip to content

Commit e1e5b49

Browse files
authored
chore: Use correct function call in migration docs (#5414)
1 parent ce67a38 commit e1e5b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MIGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,8 @@ import {
422422

423423
const dsn = initAPIDetails(dsn, metadata, tunnel);
424424
const dsn = api.dsn;
425-
const storeEndpoint = getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel);
426-
const envelopeEndpoint = getStoreEndpointWithUrlEncodedAuth(api.dsn);
425+
const storeEndpoint = getStoreEndpointWithUrlEncodedAuth(api.dsn);
426+
const envelopeEndpoint = getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel);
427427

428428
// Before:
429429
import { API } from '@sentry/core';

0 commit comments

Comments
 (0)