fix typo
This commit is contained in:
parent
4f0ff75f23
commit
3faa866c7f
|
@ -9,7 +9,7 @@ function fetchWithTimeout (url, options) {
|
|||
|
||||
function makeOpts (method, headers) {
|
||||
return {
|
||||
method: 'GET',
|
||||
method,
|
||||
headers: Object.assign(headers || {}, {
|
||||
'Accept': 'application/json'
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue