diff options
| author | Pitu <[email protected]> | 2019-03-02 22:36:28 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-03-02 22:36:28 +0900 |
| commit | 3ce7657871bfe392d73ab67a6c1a8a10543e3d98 (patch) | |
| tree | 3662943053cfa7e4722d0e753e6aa139da8e5c46 /src/api | |
| parent | Various password fixes (diff) | |
| download | host.fuwn.me-3ce7657871bfe392d73ab67a6c1a8a10543e3d98.tar.xz host.fuwn.me-3ce7657871bfe392d73ab67a6c1a8a10543e3d98.zip | |
wip
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/routes/albums/albumGET.js | 2 |
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 |