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:
parent
622f56c77c
commit
24a21c34f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue