This commit is contained in:
Timothy Jaeryang Baek committed 2026-08-13 18:46:15 -06:00
1 parent 2514e96b12
commit af25ee4b2e
2 files changed
+21 -28

No files matched your search

+2 -2
View File
@@ -200,8 +200,8 @@ export const answerAskUser = (
timedOut = false
) =>
fetchJSON(
`/api/chats/${chatId}/messages/${messageId}/answer`,
jsonBody({ call_id: callId, answers, timed_out: timedOut })
`/api/chats/${chatId}/messages/${messageId}/approve`,
jsonBody({ call_id: callId, approved: true, answers, timed_out: timedOut })
);
export const cancelTask = (chatId: string, messageId: string) =>