Add braces to a function call
This commit is contained in:
parent
853c170d3c
commit
efce1a99d3
|
@ -676,7 +676,7 @@ export const actions = {
|
|||
const id = general.id;
|
||||
|
||||
if (!data || !data[id]) {
|
||||
return getToken
|
||||
return getToken()
|
||||
.then(token => fetch(general.url, fetchOptions(token)))
|
||||
.then(checkStatus)
|
||||
.then(parseJSON)
|
||||
|
|
Loading…
Reference in New Issue