🔧 Fixing broken AirDCPP search

This commit is contained in:
2024-09-26 21:33:02 -04:00
parent 402ee4d81b
commit f9438f2129
3 changed files with 106 additions and 4 deletions

View File

@@ -551,7 +551,8 @@ export default class ImportService extends Service {
params: { id: "string" },
async handler(ctx: Context<{ id: string }>) {
console.log(ctx.params.id);
return await Comic.findById(ctx.params.id);
return await Comic.findById(new ObjectId(ctx.params.id));
},
},
getComicBooksByIds: {