Ok retour en arrière...

This commit is contained in:
Zachary Guénot
2023-05-23 23:21:26 +02:00
parent a90960edfb
commit 6933537d2e
7 changed files with 7 additions and 7 deletions

View File

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