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