fix: POST message api

This commit is contained in:
Tony Yang committed 2025-04-16 18:30:18 +08:00
1 parent fd565f3133
commit 2916a23bc2
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ const onSubmit = async (message) => {
if (!isLoggedIn) return;
try {
await postMessage(message.text, authStore.jwt, message.hcaptchaResponse);
await postMessage(message.text, authStore.jwt, message.captchaResponse);
const response = await getMessages();
messages.value = response.messages;