From 65b9b3b647fc55936ab5b694d15c791f36e8b03f Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 20 Jul 2023 13:49:25 +0000 Subject: [PATCH] Bug 34217: (QA follow-up) Clean-up old unused code Spotted this and didn't want to open a new bug for it Signed-off-by: Jonathan Druart --- .../prog/js/vue/components/ERM/LicensesFormAdd.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesFormAdd.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesFormAdd.vue index 674ac5cc095..9df7727489d 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesFormAdd.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesFormAdd.vue @@ -232,13 +232,6 @@ export default { return false } - let apiUrl = "/api/v1/erm/licenses" - - let method = "POST" - if (license.license_id) { - method = "PUT" - apiUrl += "/" + license.license_id - } delete license.license_id delete license.vendor -- 2.25.1