mirror of
				https://gitlab.com/Alamantus/Readlebee.git
				synced 2025-11-04 02:07:11 +01:00 
			
		
		
		
	Fix old column reference in shelf route
This commit is contained in:
		
							parent
							
								
									e3b4809478
								
							
						
					
					
						commit
						1aa4d6346d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		
		Reference in a new issue