mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 20:37:21 +00:00
module manager: switched config table to use entity
This commit is contained in:
@@ -181,7 +181,7 @@ export class MediaController implements ClassController {
|
||||
if (ids_to_delete.length > 0) {
|
||||
await this.media.em
|
||||
.mutator(mediaEntity)
|
||||
.deleteMany({ [id_field]: { $in: ids_to_delete } });
|
||||
.deleteWhere({ [id_field]: { $in: ids_to_delete } });
|
||||
}
|
||||
|
||||
return c.json({ ok: true, result: result.data, ...info });
|
||||
|
||||
Reference in New Issue
Block a user