This commit is contained in:
Pitu 2019-03-02 22:36:28 +09:00
parent 99bc74875e
commit 3ce7657871
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -54,7 +54,6 @@ const actions = {
};
const setAuthorizationHeader = payload => {
console.log('hihi');
Vue.axios.defaults.headers.common.Authorization = payload ? `Bearer ${payload}` : '';
};