Add code for administrations.

This commit is contained in:
James Cole
2025-01-19 11:34:23 +01:00
parent 950c60d55c
commit 3766128cb8
26 changed files with 1095 additions and 38 deletions

View File

@@ -187,7 +187,7 @@ export default {
// post!
axios.put('./api/v1/webhooks/' + this.id, data).then((response) => {
let webhookId = response.data.data.id;
let webhookId = parseInt(response.data.data.id);
window.location.href = window.previousUrl + '?webhook_id=' + webhookId + '&message=updated';
}).catch((error) => {