Skip to content

Commit 4e626d5

Browse files
authored
Merge pull request #8 from Maddimax/releases/v2.5
Fixing request function to not double JSON.stringify
2 parents d69e3d4 + 37b261b commit 4e626d5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/extensionstore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async function request(
170170
accept: 'application/json',
171171
'Content-Type': 'application/json'
172172
},
173-
body: data ? JSON.stringify(data) : undefined
173+
body: data ? data : undefined
174174
})
175175
if (!response.ok) {
176176
throw new Error(

0 commit comments

Comments
 (0)