Add braces to a function call

This commit is contained in:
Ivan Meredith 2016-08-12 14:54:36 +12:00
parent 853c170d3c
commit efce1a99d3
1 changed files with 1 additions and 1 deletions

View File

@ -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)