mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
fix: malformed Bearer header in id-cards provider
This commit is contained in:
@@ -41,7 +41,7 @@ export class IdCardsProvider {
|
|||||||
// eslint-disable-next-line unicorn/no-null
|
// eslint-disable-next-line unicorn/no-null
|
||||||
return this.httpClient.post(url, null, {
|
return this.httpClient.post(url, null, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer: ${token}`,
|
Authorization: `Bearer ${token}`,
|
||||||
},
|
},
|
||||||
responseType: 'json',
|
responseType: 'json',
|
||||||
}) as Observable<SCIdCard[]>;
|
}) as Observable<SCIdCard[]>;
|
||||||
|
|||||||
Reference in New Issue
Block a user