From c8852cec4b629540e346f6aee92dad106d5c8126 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 --- .../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 674ac5cc09..9df7727489 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.30.2