Fix improper escape.

This commit is contained in:
James Cole
2023-01-15 17:05:21 +01:00
parent f2251d7bfa
commit afd3fd9f88
4 changed files with 4 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ export default {
// post!
axios.put('./api/v1/webhooks/' + this.id, data).then((response) => {
this.success_message = response.data.message;
this.success_message = $.text(response.data.message);
// console.log('Will now go to redirectUser()');
let webhookId = response.data.data.id;
window.location.href = window.previousUrl + '?webhook_id=' + webhookId + '&message=updated';