diff options
Diffstat (limited to 'src/api/server')
-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 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 | } |