Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.

Commit 2ec1fab

Browse files
authored
Merge pull request #1 from GlobalWebIndex/chore/fix_fetch_call
Fixed fetch call for pre ES6
2 parents d9202de + dcfef5a commit 2ec1fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/segment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828
return fetch(
2929
baseUrl + type,
3030
{
31-
method,
31+
method: method,
3232
headers: headers,
3333
body: JSON.stringify(body)
3434
}

0 commit comments

Comments
 (0)