From 8b90c2b36fcca490a526f5a37523e6d36ab01c4f Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Tue, 12 Jul 2022 15:17:15 -0400 Subject: [PATCH] chore: Use correct function call in migration docs --- MIGRATION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 505e49eb4485..76d6d728a027 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -422,8 +422,8 @@ import { const dsn = initAPIDetails(dsn, metadata, tunnel); const dsn = api.dsn; -const storeEndpoint = getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel); -const envelopeEndpoint = getStoreEndpointWithUrlEncodedAuth(api.dsn); +const storeEndpoint = getStoreEndpointWithUrlEncodedAuth(api.dsn); +const envelopeEndpoint = getEnvelopeEndpointWithUrlEncodedAuth(api.dsn, api.tunnel); // Before: import { API } from '@sentry/core';