fix(notifications): missed api converstion in the front end for updating

This commit is contained in:
2026-06-03 08:40:15 -05:00
parent f635415b75
commit 5281118596

View File

@@ -170,11 +170,11 @@ const NotificationTable = () => {
try { try {
const res = await api.patch( const res = await api.patch(
`/lst/api/notification/${i.row.original.id}`, `/notification/${i.row.original.id}`,
{ {
active: !activeToggle, active: !activeToggle,
}, },
{ withCredentials: true },
); );
if (res.data.success) { if (res.data.success) {