Skip to content

Commit

Permalink
AAP-37349: Fix using the proper feedback endpoint. (#1460)
Browse files Browse the repository at this point in the history
Signed-off-by: romartin <[email protected]>
  • Loading branch information
romartin authored Dec 13, 2024
1 parent ef929ba commit 1a7622f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const useChatbot = () => {
const csrfToken = readCookie("csrftoken");
const resp = await axios.post(
import.meta.env.PROD
? "/api/v0/ai/chat/"
? "/api/v0/ai/feedback/"
: "http://localhost:8080/v1/feedback/",
{
chatFeedback: feedbackRequest,
Expand Down

0 comments on commit 1a7622f

Please sign in to comment.