mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Fix problem saving workflow when tags disabled (#3792)
* ⚡ Add @AfterLoad nullCheck for WorkflowEntity tags * ⚡ Make tags optional in Entity * Fix workflows api typing issue Co-authored-by: Omar Ajoue <krynble@gmail.com>
This commit is contained in:
@@ -112,7 +112,7 @@ export class WorkflowEntity implements IWorkflowDb {
|
||||
referencedColumnName: 'id',
|
||||
},
|
||||
})
|
||||
tags: TagEntity[];
|
||||
tags?: TagEntity[];
|
||||
|
||||
@OneToMany(() => SharedWorkflow, (sharedWorkflow) => sharedWorkflow.workflow)
|
||||
shared: SharedWorkflow[];
|
||||
|
||||
Reference in New Issue
Block a user