aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-03-02 22:36:28 +0900
committerPitu <[email protected]>2019-03-02 22:36:28 +0900
commit3ce7657871bfe392d73ab67a6c1a8a10543e3d98 (patch)
tree3662943053cfa7e4722d0e753e6aa139da8e5c46 /src/api
parentVarious password fixes (diff)
downloadhost.fuwn.me-3ce7657871bfe392d73ab67a6c1a8a10543e3d98.tar.xz
host.fuwn.me-3ce7657871bfe392d73ab67a6c1a8a10543e3d98.zip
wip
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/albums/albumGET.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/albums/albumGET.js b/src/api/routes/albums/albumGET.js
index 59398a1..fae7dd1 100644
--- a/src/api/routes/albums/albumGET.js
+++ b/src/api/routes/albums/albumGET.js
@@ -14,7 +14,7 @@ class albumGET extends Route {
Make sure it exists and it's enabled
*/
const link = await db.table('links').where({ identifier, enabled: true }).first();
- if (!link) return res.status(404).json({ message: 'The identifier supplied could not be found' });
+ if (!link) return res.status(404).json({ message: 'The album could not be found' });
/*
Same with the album, just to make sure is not a deleted album and a leftover link