Ok retour en arrière...
This commit is contained in:
@@ -9,5 +9,5 @@ module.exports = getUserInfo = (async (client_id, access_token, type) => {
|
||||
}).then(response => {
|
||||
if (type === 'login') return response.data.data[0].login
|
||||
if (type === 'id') return response.data.data[0].id
|
||||
}).catch(console.error())
|
||||
}).catch(error => { console.error(error.response.data) })
|
||||
})
|
||||
Reference in New Issue
Block a user