Update delete-label.js

pull/5/head
Maksim Eltyshev 6 years ago committed by GitHub
parent 622f56c77c
commit 24a21c34f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save