diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/routes/albums/albumGET.js | 2 | ||||
| -rw-r--r-- | src/site/store/index.js | 1 |
2 files changed, 1 insertions, 2 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 diff --git a/src/site/store/index.js b/src/site/store/index.js index e96f10a..194bff9 100644 --- a/src/site/store/index.js +++ b/src/site/store/index.js @@ -54,7 +54,6 @@ const actions = { }; const setAuthorizationHeader = payload => { - console.log('hihi'); Vue.axios.defaults.headers.common.Authorization = payload ? `Bearer ${payload}` : ''; }; |