cloud-ide-element 1.1.37 → 1.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7230,13 +7230,17 @@ class NotificationApiService {
|
|
|
7230
7230
|
* Mark notification as read
|
|
7231
7231
|
*/
|
|
7232
7232
|
markAsRead(id) {
|
|
7233
|
-
|
|
7233
|
+
const url = `${this.apiUrl}/${id}/read`;
|
|
7234
|
+
console.log('[NotificationApi] Mark as read URL:', url);
|
|
7235
|
+
return this.http.put(url, {});
|
|
7234
7236
|
}
|
|
7235
7237
|
/**
|
|
7236
7238
|
* Mark all notifications as read
|
|
7237
7239
|
*/
|
|
7238
7240
|
markAllAsRead() {
|
|
7239
|
-
|
|
7241
|
+
const url = `${this.apiUrl}/read-all`;
|
|
7242
|
+
console.log('[NotificationApi] Mark all as read URL:', url);
|
|
7243
|
+
return this.http.put(url, {});
|
|
7240
7244
|
}
|
|
7241
7245
|
/**
|
|
7242
7246
|
* Archive notification
|