From 210131ca184c3aa043371857c022aa1aa149efbf Mon Sep 17 00:00:00 2001 From: Aditya Mangalampalli Date: Fri, 15 Apr 2022 02:00:25 -0700 Subject: Matched casing for almost all replacements --- src/api/utils/auth.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/utils/auth.ts') diff --git a/src/api/utils/auth.ts b/src/api/utils/auth.ts index 899881e88..a7a73309d 100644 --- a/src/api/utils/auth.ts +++ b/src/api/utils/auth.ts @@ -1,5 +1,5 @@ import localStorage from 'mobx-localstorage'; -import { ferdiLocale, ferdiVersion } from '../../environment-remote'; +import { ferdiumLocale, ferdiumVersion } from '../../environment-remote'; export const prepareAuthRequest = ( // eslint-disable-next-line unicorn/no-object-as-default-parameter @@ -11,10 +11,10 @@ export const prepareAuthRequest = ( headers: { 'Content-Type': 'application/json', 'X-Franz-Source': 'desktop', - 'X-Franz-Version': ferdiVersion, + 'X-Franz-Version': ferdiumVersion, 'X-Franz-platform': process.platform, 'X-Franz-Timezone-Offset': new Date().getTimezoneOffset(), - 'X-Franz-System-Locale': ferdiLocale, + 'X-Franz-System-Locale': ferdiumLocale, // @ts-expect-error Property 'headers' does not exist on type '{ method: string; }'. ...options.headers, }, -- cgit v1.2.3-70-g09d2