aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes')
-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