status page service/repo refactor

This commit is contained in:
Alex Holliday committed 2026-01-22 20:57:20 +00:00
1 parent 2359255ef7
commit e6c268f14e
18 files changed
+357 -47

No files matched your search

+2 -2
View File
@@ -909,7 +909,7 @@ class NetworkService {
}
async createStatusPage(config) {
const { form, isCreate } = config;
const { form, isCreate, id } = config;
const fd = new FormData();
fd.append("type", form.type);
@@ -955,7 +955,7 @@ class NetworkService {
return this.axiosInstance.post(`/status-page`, fd, {});
}
return this.axiosInstance.put(`/status-page`, fd, {});
return this.axiosInstance.put(`/status-page/${id}`, fd, {});
}
async deleteStatusPage(config) {