wip
This commit is contained in:
parent
99bc74875e
commit
3ce7657871
|
@ -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
|
||||
|
|
|
@ -54,7 +54,6 @@ const actions = {
|
|||
};
|
||||
|
||||
const setAuthorizationHeader = payload => {
|
||||
console.log('hihi');
|
||||
Vue.axios.defaults.headers.common.Authorization = payload ? `Bearer ${payload}` : '';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue