mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
|
|
const becca = require("../../becca/becca");
|
||
|
|
const bulkActionService = require("../../services/bulk_actions");
|
||
|
|
|
||
|
|
function execute(req) {
|
||
|
|
const {noteIds} = req.body;
|
||
|
|
|
||
|
|
const bulkActionNote = becca.getNote('bulkaction');
|
||
|
|
|
||
|
|
bulkActionService.executeActions(bulkActionNote, noteIds);
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
execute
|
||
|
|
};
|