Skip to content

Node.js based forum software built for the modern web

fix: method name

Barış Soner Uşaklıe15b7ff7f893
diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.js
index efb920a72d..69f4bb95c4 100644
--- a/public/src/modules/notifications.js
+++ b/public/src/modules/notifications.js
@@ -121,7 +121,7 @@ define('notifications', [
}
}).catch(alerts.error);
} else {
- api.delete(`/notifications/${nid}/read`).then(callback).catch(alerts.error);
+ api.del(`/notifications/${nid}/read`).then(callback).catch(alerts.error);
}
}