diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index ed5db95c..92dd27cb 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -3575,7 +3575,7 @@ export class CommandController extends Controller { lastUpdateFullName: req.user.name, createdAt: new Date(), lastUpdatedAt: new Date(), - status: "DONE" + status: command.commandType.code == "C-PM-15" ? "PENDING" : "DONE" }; Object.assign(dataAssis, metaAssis);