diff --git a/src/libs/Network/NetworkStore.ts b/src/libs/Network/NetworkStore.ts index e942976ed6d1..dd1290b6565e 100644 --- a/src/libs/Network/NetworkStore.ts +++ b/src/libs/Network/NetworkStore.ts @@ -93,8 +93,8 @@ function isOffline(): boolean { return offline; } -function getAuthToken(): string | null { - return authToken ?? null; +function getAuthToken(): string | null | undefined { + return authToken; } function isSupportRequest(command: string): boolean { diff --git a/src/libs/Network/enhanceParameters.ts b/src/libs/Network/enhanceParameters.ts index 5c4590baded3..712d76db927c 100644 --- a/src/libs/Network/enhanceParameters.ts +++ b/src/libs/Network/enhanceParameters.ts @@ -17,7 +17,7 @@ export default function enhanceParameters(command: string, parameters: Record