From 50376a3ec5cd43f20a5f28cfb493a39749e6e211 Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Tue, 3 Jan 2023 08:22:44 +0100 Subject: [PATCH] change request parameters to match backend --- src/pages/Worker/Card/WorkerNotificationsManager.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/Worker/Card/WorkerNotificationsManager.vue b/src/pages/Worker/Card/WorkerNotificationsManager.vue index 2b6ec3340..989918b26 100644 --- a/src/pages/Worker/Card/WorkerNotificationsManager.vue +++ b/src/pages/Worker/Card/WorkerNotificationsManager.vue @@ -218,9 +218,8 @@ async function toggleNotif(notif, chip) { await axios.post( `NotificationSubscriptions/deleteNotification`, { - userId: entityId.value, - notificationId: notif.id, - authorId: tokenUser.data.id, + userFk: entityId.value, + notificationFk: notif.id, }, { headers: {