🐛 Fix bug that workflow names could have spaces in beginning and end
This commit is contained in:
@@ -181,6 +181,7 @@ class App {
|
||||
|
||||
const newWorkflowData = req.body;
|
||||
|
||||
newWorkflowData.name = newWorkflowData.name.trim();
|
||||
newWorkflowData.createdAt = this.getCurrentDate();
|
||||
newWorkflowData.updatedAt = this.getCurrentDate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user