Addition of export.

This commit is contained in:
Owaise Imdad committed 2025-06-17 00:11:33 +05:30
1 parent 36d8e8c0cf
commit e9e509ab04
6 files changed
+102 -11

No files matched your search

+7
View File
@@ -1022,6 +1022,13 @@ class NetworkService {
const { id, notification } = config;
return this.axiosInstance.put(`/notifications/${id}`, notification);
}
async exportMonitors() {
const response = await this.axiosInstance.get("/monitors/export", {
responseType: "blob",
});
return response.data;
}
}
export default NetworkService;