diff --git a/server/routes/shelf.js b/server/routes/shelf.js index 53f9ddb..ffc1884 100644 --- a/server/routes/shelf.js +++ b/server/routes/shelf.js @@ -18,7 +18,7 @@ async function routes(fastify, options) { const shelfController = new ShelfController(fastify.models); const shelves = await request.user.getShelves({ - attributes: ['id', 'name', 'isDeletable', 'isPublic', 'updatedAt'], + attributes: ['id', 'name', 'isDeletable', 'permissionLevel', 'updatedAt'], }); return shelves.map(shelf => {