Fix old column reference in shelf route

This commit is contained in:
Robbie Antenesse 2020-02-24 11:13:12 -07:00
parent e3b4809478
commit 1aa4d6346d
1 changed files with 1 additions and 1 deletions

View File

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