1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-10-16 20:17:25 +00:00

🧊 Remove redundant return await

This commit is contained in:
Steffo 2021-05-23 18:21:12 +02:00
parent 3508fd2125
commit 355095ce7d
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -40,7 +40,7 @@ export default function GlobalUser({ children }) {
}
init["headers"]["Authorization"] = `Bearer ${user["token"]}`
return await fetchData(method, path, body, init)
return fetchData(method, path, body, init)
}, [fetchData, user])
/**