Fix sending invite images

This commit is contained in:
Natsumi
2025-09-22 01:08:37 +12:00
parent 36efbca57f
commit 94343dec4c
7 changed files with 12 additions and 11 deletions

View File

@@ -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,