Fix old column reference in shelf route
This commit is contained in:
parent
e3b4809478
commit
1aa4d6346d
|
@ -18,7 +18,7 @@ async function routes(fastify, options) {
|
||||||
const shelfController = new ShelfController(fastify.models);
|
const shelfController = new ShelfController(fastify.models);
|
||||||
|
|
||||||
const shelves = await request.user.getShelves({
|
const shelves = await request.user.getShelves({
|
||||||
attributes: ['id', 'name', 'isDeletable', 'isPublic', 'updatedAt'],
|
attributes: ['id', 'name', 'isDeletable', 'permissionLevel', 'updatedAt'],
|
||||||
});
|
});
|
||||||
|
|
||||||
return shelves.map(shelf => {
|
return shelves.map(shelf => {
|
||||||
|
|
Loading…
Reference in New Issue