Skip to content

Commit 31ff333

Browse files
dashedStephen Cefali
authored andcommitted
fix: Pass an empty array to $.param instead of an empty string when options.query is falsey (#14051)
1 parent a60ac89 commit 31ff333

File tree

1 file changed

+1
-0
lines changed
  • src/sentry/static/sentry/app

1 file changed

+1
-0
lines changed

src/sentry/static/sentry/app/api.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export class Client {
166166
let query;
167167
try {
168168
query = $.param(options.query || '', true);
169+
query = $.param(options.query || [], true);
169170
} catch (err) {
170171
Sentry.withScope(scope => {
171172
scope.setExtra('path', path);

0 commit comments

Comments
 (0)