Skip to content

Commit 51db30f

Browse files
committed
Fix for double URI component encoding when querying GiantBomb API by title
1 parent 9fa7348 commit 51db30f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/apis/GiantBombAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class GiantBombAPI extends APIModel {
3333
params: {
3434
query: {
3535
api_key: this.plugin.settings.GiantBombKey,
36-
filter: `name:${encodeURIComponent(title)}`,
36+
filter: `name:${title}`,
3737
format: 'json',
3838
limit: 20,
3939
},

0 commit comments

Comments
 (0)