232201_dev_to_test #59

Merged
alexm merged 48 commits from dev into test 2023-06-01 07:18:41 +00:00
1 changed files with 1 additions and 7 deletions
Showing only changes of commit 52988f6299 - Show all commits

View File

@ -210,16 +210,10 @@ async function toggleNotif(notif, chip) {
message: t('worker.notificationsManager.subscribed'),
});
} else {
const token = await getToken();
const tokenUser = await axios.get(`AccessTokens/${token}/user`);
console.log(tokenUser);
await axios.post(
`NotificationSubscriptions/deleteNotification`,
{
userFk: entityId.value,
notificationFk: notif.id,
notificationId: this.worker.subscribedNotifs.find((sub) => sub.notificationFk == notif.id).id,
},
{
headers: {