Bearer => Token

This commit is contained in:
c4ffein 2024-08-02 01:27:17 +02:00 committed by Dongsen
parent 18c68dc597
commit b14ba5011c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export const limit = 10
export const api = new Api({
baseUrl: `${CONFIG.API_HOST}/api`,
securityWorker: token => token ? { headers: { Authorization: `Bearer ${String(token)}` } } : {},
securityWorker: token => token ? { headers: { Authorization: `Token ${String(token)}` } } : {},
baseApiParams: {
headers: {
'content-type': ContentType.Json,