1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-31 00:19:36 +02:00

Merge pull request #205 from pawelmalak/auth-header

Changed auth header
This commit is contained in:
pawelmalak 2021-11-19 12:42:05 +01:00 committed by GitHub
commit e0f6034868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
export const applyAuth = () => {
const token = localStorage.getItem('token') || '';
return { Authorization: `Bearer ${token}` };
return { Authorization_Flame: `Bearer ${token}` };
};