diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-17 17:08:05 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-17 13:18:26 +0000 |
commit | 1fcfccd9fb8d52a599aea1145deff7c3aaecaa97 (patch) | |
tree | f08453e0e4d2256eff24803ff83918ce327998d8 /src/api/utils | |
parent | Missed 'prepare' step that enforces the installation of the git pre-commit hooks (diff) | |
download | ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.tar.gz ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.tar.zst ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.zip |
Changed occurrences of 'Franz' to 'Ferdi' (probably missed earlier while catchup from Franz source). [skip ci]
Diffstat (limited to 'src/api/utils')
-rw-r--r-- | src/api/utils/auth.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/api/utils/auth.js b/src/api/utils/auth.js index 6dbdeaa7f..4dbfcd6d4 100644 --- a/src/api/utils/auth.js +++ b/src/api/utils/auth.js | |||
@@ -8,11 +8,11 @@ export const prepareAuthRequest = (options = { method: 'GET' }, auth = true) => | |||
8 | mode: 'cors', | 8 | mode: 'cors', |
9 | headers: Object.assign({ | 9 | headers: Object.assign({ |
10 | 'Content-Type': 'application/json', | 10 | 'Content-Type': 'application/json', |
11 | 'X-Franz-Source': 'desktop', | 11 | 'X-Ferdi-Source': 'desktop', |
12 | 'X-Franz-Version': app.getVersion(), | 12 | 'X-Ferdi-Version': app.getVersion(), |
13 | 'X-Franz-platform': process.platform, | 13 | 'X-Ferdi-platform': process.platform, |
14 | 'X-Franz-Timezone-Offset': new Date().getTimezoneOffset(), | 14 | 'X-Ferdi-Timezone-Offset': new Date().getTimezoneOffset(), |
15 | 'X-Franz-System-Locale': app.getLocale(), | 15 | 'X-Ferdi-System-Locale': app.getLocale(), |
16 | }, options.headers), | 16 | }, options.headers), |
17 | }); | 17 | }); |
18 | 18 | ||