aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/server/ServerApi.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-08 20:42:22 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-08 20:42:22 +0530
commita77c1533f73199287990f83ce9fb16416c056c46 (patch)
tree4584bb9d61553436bde77db9aafe1b0a0233030b /src/api/server/ServerApi.js
parentrefactor(docker): remove unnecessary copy of package config files into Docker... (diff)
downloadferdium-app-a77c1533f73199287990f83ce9fb16416c056c46.tar.gz
ferdium-app-a77c1533f73199287990f83ce9fb16416c056c46.tar.zst
ferdium-app-a77c1533f73199287990f83ce9fb16416c056c46.zip
fix: fix the changelog api to handle nightly builds
Diffstat (limited to 'src/api/server/ServerApi.js')
-rw-r--r--src/api/server/ServerApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/server/ServerApi.js b/src/api/server/ServerApi.js
index 2111eb80b..bc0b0dff9 100644
--- a/src/api/server/ServerApi.js
+++ b/src/api/server/ServerApi.js
@@ -447,7 +447,7 @@ export default class ServerApi {
447 } 447 }
448 448
449 async hideNews(id) { 449 async hideNews(id) {
450 const request = await sendAuthRequest(`${apiBase(true)}/news/${id}/read`); 450 const request = await sendAuthRequest(`${apiBase()}/news/${id}/read`);
451 if (!request.ok) throw request; 451 if (!request.ok) throw request;
452 debug('ServerApi::hideNews resolves', id); 452 debug('ServerApi::hideNews resolves', id);
453 } 453 }