fix(gui): Feedback submit payload

This commit is contained in:
Mohan 2025-04-28 16:58:51 +02:00 committed by GitHub
parent 3cf2337bfb
commit 01f1e6f218
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ export async function submitFeedbackViaHttp(
type Response = string;
const requestPayload = {
body: content,
content,
attachments: attachments || [], // Ensure attachments is always an array
};
@ -190,4 +190,4 @@ export async function fetchAllConversations(): Promise<void> {
logger.error(error, "Error fetching messages for feedback id", feedbackId);
}
}
}
}