From 94343dec4ca381eaa71e3fd9229d628409f664b7 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Mon, 22 Sep 2025 01:08:37 +1200 Subject: [PATCH] Fix sending invite images --- src/api/notification.js | 7 +++---- src/views/Feed/Feed.vue | 2 +- src/views/GameLog/GameLog.vue | 2 +- src/views/Moderation/Moderation.vue | 2 +- src/views/Notifications/Notification.vue | 2 +- src/views/PlayerList/PlayerList.vue | 4 ++-- src/vr/Vr.vue | 4 +++- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/api/notification.js b/src/api/notification.js index a84f1f39..47a02cf1 100644 --- a/src/api/notification.js +++ b/src/api/notification.js @@ -1,11 +1,11 @@ import { request } from '../service/request'; -import { useGroupStore, useNotificationStore } from '../stores'; +import { useGalleryStore, useNotificationStore } from '../stores'; /** * @returns {any} */ function getGalleryStore() { - return useGroupStore(); + return useGalleryStore(); } const notificationReq = { @@ -158,8 +158,7 @@ const notificationReq = { sendInviteResponse(params, inviteId) { return request(`invite/${inviteId}/response`, { method: 'POST', - params, - inviteId + params }).then((json) => { const args = { json, diff --git a/src/views/Feed/Feed.vue b/src/views/Feed/Feed.vue index 4fdffeb1..36095b06 100644 --- a/src/views/Feed/Feed.vue +++ b/src/views/Feed/Feed.vue @@ -181,7 +181,7 @@ - +