add nullable to isPublic

This commit is contained in:
Henry
2023-07-05 18:27:02 +01:00
parent 636ad5dc0c
commit 9bca78b66a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,9 +10,9 @@ export interface IChatFlow {
name: string name: string
flowData: string flowData: string
deployed: boolean deployed: boolean
isPublic: boolean
updatedDate: Date updatedDate: Date
createdDate: Date createdDate: Date
isPublic?: boolean
apikeyid?: string apikeyid?: string
chatbotConfig?: string chatbotConfig?: string
} }
+2 -2
View File
@@ -16,8 +16,8 @@ export class ChatFlow implements IChatFlow {
@Column() @Column()
deployed: boolean deployed: boolean
@Column() @Column({ nullable: true })
isPublic: boolean isPublic?: boolean
@Column({ nullable: true }) @Column({ nullable: true })
apikeyid?: string apikeyid?: string