- 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:
1 parent
c535a6f99b
commit
d844078ed7
6 files changed
+128
-104
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user