Skip to content

Commit

Permalink
fix: code restyling
Browse files Browse the repository at this point in the history
  • Loading branch information
danielherrerohernando committed Sep 4, 2020
1 parent af7598a commit e80f017
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ module.exports = () => {
throw new Error('Auth API url is not set, please check configuration.');
}

const getUserData = token => get(url, {
headers: {
'authorization': token
}})
const getUserData = token => get(url, { headers: { 'authorization': token }})
.then(response => response.data)
.catch(err => err);

Expand Down

0 comments on commit e80f017

Please sign in to comment.