mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: remove duplicate /v1 prefix from assistant fetch URLs
This commit is contained in:
@@ -196,7 +196,7 @@
|
||||
traceId = '';
|
||||
|
||||
try {
|
||||
const res = await fetch(`${endpoint}/v1/console/assistant`, {
|
||||
const res = await fetch(`${endpoint}/console/assistant`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@@ -349,7 +349,7 @@
|
||||
function sendFeedback(score: 'positive' | 'negative') {
|
||||
if (!traceId) return;
|
||||
feedback = score;
|
||||
fetch(`${endpoint}/v1/console/assistant/feedback`, {
|
||||
fetch(`${endpoint}/console/assistant/feedback`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user