Fix formatting

This commit is contained in:
Deluan
2020-04-26 14:50:44 -04:00
committed by Deluan Quintão
parent ad6c86d78a
commit ebc7964157
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ const authProvider = {
const request = new Request(url, {
method: 'POST',
body: JSON.stringify({ username, password }),
headers: new Headers({ 'Content-Type': 'application/json' })
headers: new Headers({ 'Content-Type': 'application/json' }),
})
return fetch(request)
.then((response) => {
@@ -69,7 +69,7 @@ const authProvider = {
getPermissions: () => {
const role = localStorage.getItem('role')
return role ? Promise.resolve(role) : Promise.reject()
}
},
}
const removeItems = () => {