diff --git a/frontend/src/routes/admin/notifications.tsx b/frontend/src/routes/admin/notifications.tsx index cb82572..bf74891 100644 --- a/frontend/src/routes/admin/notifications.tsx +++ b/frontend/src/routes/admin/notifications.tsx @@ -170,11 +170,11 @@ const NotificationTable = () => { try { const res = await api.patch( - `/lst/api/notification/${i.row.original.id}`, + `/notification/${i.row.original.id}`, { active: !activeToggle, }, - { withCredentials: true }, + ); if (res.data.success) {