@clairejs/server 3.28.11 → 3.28.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -229,9 +229,7 @@ export class CrudHttpController extends AbstractHttpController {
|
|
|
229
229
|
async deleteMany(req) {
|
|
230
230
|
const tx = await this.getCurrentTransaction();
|
|
231
231
|
const result = await this.crudRepository.deleteMany({ queries: req.getQuery(), tx });
|
|
232
|
-
return ResponseBuilder.json(
|
|
233
|
-
modified: result.modified.map((instance) => instance.id).map((id) => ({ id })),
|
|
234
|
-
}).get();
|
|
232
|
+
return ResponseBuilder.json(result).get();
|
|
235
233
|
}
|
|
236
234
|
}
|
|
237
235
|
__decorate([
|