From 1269cb9f6b46471a9f0161d646607519e0e1f638 Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Sat, 5 Nov 2022 01:25:51 +0100 Subject: [PATCH] fix the axios bug --- src/services/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/auth.ts b/src/services/auth.ts index cc3ea0d..6b0a01a 100644 --- a/src/services/auth.ts +++ b/src/services/auth.ts @@ -72,7 +72,7 @@ export class Auth { if (!token) return BackendReturnStatus.Unauthorized; return axios - .patch(`${Configuration.resourceServer}/auth/refreshRadarScopeKey`, { + .patch(`${Configuration.resourceServer}/auth/refreshRadarScopeKey`, {}, { headers: { Authorization: `Bearer ${token}`, },