diff options
Diffstat (limited to 'src/api/utils/auth.ts')
-rw-r--r-- | src/api/utils/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/utils/auth.ts b/src/api/utils/auth.ts index 98295d1a4..899881e88 100644 --- a/src/api/utils/auth.ts +++ b/src/api/utils/auth.ts | |||
@@ -31,7 +31,7 @@ export const prepareAuthRequest = ( | |||
31 | 31 | ||
32 | export const sendAuthRequest = ( | 32 | export const sendAuthRequest = ( |
33 | url: RequestInfo, | 33 | url: RequestInfo, |
34 | options: { method: string } | undefined, | 34 | options?: { method: string; headers?: any; body?: any }, |
35 | auth?: boolean, | 35 | auth?: boolean, |
36 | ) => | 36 | ) => |
37 | // @ts-expect-error Argument of type '{ method: string; } & { mode: string; headers: any; }' is not assignable to parameter of type 'RequestInit | undefined'. | 37 | // @ts-expect-error Argument of type '{ method: string; } & { mode: string; headers: any; }' is not assignable to parameter of type 'RequestInit | undefined'. |