diff options
author | 2017-11-17 14:00:34 +0100 | |
---|---|---|
committer | 2017-11-17 14:00:34 +0100 | |
commit | fc3eb9b09ccc3e4e14e80c7189dbb99a557c22d2 (patch) | |
tree | f82258a2f4f7eff12d412427c27b9cd2837859e8 /src/api | |
parent | Merge pull request #276 from meetfranz/feature/spellcheck-settings (diff) | |
download | ferdium-app-fc3eb9b09ccc3e4e14e80c7189dbb99a557c22d2.tar.gz ferdium-app-fc3eb9b09ccc3e4e14e80c7189dbb99a557c22d2.tar.zst ferdium-app-fc3eb9b09ccc3e4e14e80c7189dbb99a557c22d2.zip |
fix arch query string
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/server/ServerApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/server/ServerApi.js b/src/api/server/ServerApi.js index 932b70cdc..f25f02eaa 100644 --- a/src/api/server/ServerApi.js +++ b/src/api/server/ServerApi.js | |||
@@ -374,7 +374,7 @@ export default class ServerApi { | |||
374 | // News | 374 | // News |
375 | async getLatestNews() { | 375 | async getLatestNews() { |
376 | // eslint-disable-next-line | 376 | // eslint-disable-next-line |
377 | const request = await window.fetch(`${SERVER_URL}/${API_VERSION}/news?platform=${os.platform()}&arch=${os.arch()}version=${app.getVersion()}`, | 377 | const request = await window.fetch(`${SERVER_URL}/${API_VERSION}/news?platform=${os.platform()}&arch=${os.arch()}&version=${app.getVersion()}`, |
378 | this._prepareAuthRequest({ | 378 | this._prepareAuthRequest({ |
379 | method: 'GET', | 379 | method: 'GET', |
380 | })); | 380 | })); |