- Update validation

- Switch to active tab when there are errors on it upon submission
- Add createStatusPage function
- Updated JSDOC for functions
This commit is contained in:
Shemy Gan committed 2024-12-24 14:46:54 -05:00
1 parent c535a6f99b
commit d844078ed7
6 files changed
+128 -104

No files matched your search

+10
View File
@@ -856,6 +856,16 @@ class NetworkService {
},
});
}
async createStatusPage(config) {
const { url, authToken, data } = config;
return this.axiosInstance.post(`/status-page/${url}`, data, {
headers: {
Authorization: `Bearer ${authToken}`,
"Content-Type": "application/json",
},
});
}
}
export default NetworkService;