1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00

Update delete-label.js

This commit is contained in:
Maksim Eltyshev 2019-12-26 17:24:47 +05:00 committed by GitHub
parent 622f56c77c
commit 24a21c34f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ module.exports = {
async fn(inputs, exits) { async fn(inputs, exits) {
await CardLabel.destroy({ await CardLabel.destroy({
labelId: inputs.record.id, labelId: input.srecord.id,
}); });
const label = await Label.archiveOne(inputs.record.id); const label = await Label.archiveOne(inputs.record.id);