diff --git a/frontend/src/conversation/conversationApi.ts b/frontend/src/conversation/conversationApi.ts index a7a136c8..a0575682 100644 --- a/frontend/src/conversation/conversationApi.ts +++ b/frontend/src/conversation/conversationApi.ts @@ -52,13 +52,8 @@ export function fetchAnswerApi( } export function sendFeedback( - { - prompt, - response, - }: { - prompt: string; - response: string; - }, + prompt: string, + response: string, feedback: FEEDBACK, ) { return fetch(`${apiHost}/api/feedback`, {