Skip to content

Commit

Permalink
Fix static analysis failures
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Nov 24, 2023
1 parent bf960a6 commit bba402c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/client/components/ConversationWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export default function ConversationWrapper() {
// @ts-ignore
...[{ role: "assistant", content: response.content }],
],
// @ts-ignore
...(response.team_status && { status: response.team_status }),
};
await updateConversation(openAIResponse);
Expand Down
2 changes: 1 addition & 1 deletion src/server/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const createChat: CreateChat<void, Conversation> = async (
type UpdateConversationPayload = {
conversation_id: number;
conversations: any;
status: string;
status?: string;
};

export const updateConversation: UpdateConversation<
Expand Down

0 comments on commit bba402c

Please sign in to comment.