Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Commit

Permalink
Fix unexpected JSON error
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhif authored and hisener committed Aug 29, 2019
1 parent 1a493ce commit 69c4b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -52,7 +52,7 @@ function getOpenAlerts () {
return reject(err)
}

resolve(JSON.parse(res).data)
resolve(res.data)
})
})
}
Expand Down

0 comments on commit 69c4b48

Please sign in to comment.