added manual match modal for local library

This commit is contained in:
2026-01-03 20:32:27 +01:00
parent 148beb6c5a
commit c5a96d59ff
10 changed files with 398 additions and 34 deletions

View File

@@ -91,8 +91,7 @@ export async function scanLibrary(request: FastifyRequest<{ Querystring: ScanQue
export async function listEntries(request: FastifyRequest<{ Params: Params }>, reply: FastifyReply) {
try {
const { type } = request.params;
const entries = await service.getEntriesByType(type);
return entries;
return await service.getEntriesByType(type);
} catch {
return reply.status(500).send({ error: 'FAILED_TO_LIST_ENTRIES' });
}