Fix vulnerabilities reported by Stefan Schiller from Sonar. Thanks!

This commit is contained in:
James Cole
2023-12-20 16:43:15 +01:00
parent bf5a15077d
commit 28021aa711
4 changed files with 7 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ export default {
methods: {
getWebhook: function () {
const page = window.location.href.split('/');
const webhookId = page[page.length - 1];
const webhookId = parseInt(page[page.length - 1]);
this.downloadWebhook(webhookId);
},
downloadWebhook: function (id) {