8000 fix: Dont append dsn twice to report dialog calls (#3079) · ineba/sentry-javascript@1353c13 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1353c13

Browse files
authored
fix: Dont append dsn twice to report dialog calls (getsentry#3079)
1 parent 36eddb2 commit 1353c13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/api.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ export class API {
8686
const encodedOptions = [];
8787
encodedOptions.push(`dsn=${dsn.toString()}`);
8888
for (const key in dialogOptions) {
89+
if (key === 'dsn') {
90+
continue;
91+
}
92+
8993
if (key === 'user') {
9094
if (!dialogOptions.user) {
9195
continue;

0 commit comments

Comments
 (0)
0