Open
Description
I think this function is better as a promise.
asyncData = (context) => new Promise((resolve, reject) => {
context.$axios.$get('auth/discord/redirect')
.then(result => resolve(result))
.catch(reason => reject(reason))
})
Originally posted by @Soliel in https://github.com/crybapp/web/diffs
Activity