fix(notifications): missed api converstion in the front end for updating
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user