Skip to content

Commit

Permalink
update deployed as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryHengZJ committed Jul 5, 2023
1 parent 8e13912 commit 1d74473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/server/src/Interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export interface IChatFlow {
id: string
name: string
flowData: string
deployed: boolean
updatedDate: Date
createdDate: Date
deployed?: boolean
isPublic?: boolean
apikeyid?: string
chatbotConfig?: string
Expand Down
4 changes: 2 additions & 2 deletions packages/server/src/entity/ChatFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export class ChatFlow implements IChatFlow {
@Column()
flowData: string

@Column()
deployed: boolean
@Column({ nullable: true })
deployed?: boolean

@Column({ nullable: true })
isPublic?: boolean
Expand Down

0 comments on commit 1d74473

Please sign in to comment.