From de16118a100f0ca653f582e14c745146a36f05c6 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Mon, 25 Jan 2021 15:21:30 +0100
Subject: [PATCH] Remove "commonUtils.getAPiUrl()" calls

---
 rollup.config.js                          | 4 ++--
 src/dbp-official-signature-pdf-upload.js  | 2 +-
 src/dbp-qualified-signature-pdf-upload.js | 2 +-
 src/dbp-signature-verification-full.js    | 2 +-
 vendor/toolkit                            | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rollup.config.js b/rollup.config.js
index 6891005..5003a98 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -8,7 +8,7 @@ import {terser} from "rollup-plugin-terser";
 import json from '@rollup/plugin-json';
 import serve from 'rollup-plugin-serve';
 import urlPlugin from "@rollup/plugin-url";
-// TODO: remove consts if "environment" isn't needed any more for "getAPiUrl"
+// TODO: remove consts if "environment" isn't needed because "getAPiUrl" is removed
 import consts from 'rollup-plugin-consts';
 import license from 'rollup-plugin-license';
 import del from 'rollup-plugin-delete';
@@ -114,7 +114,7 @@ export default (async () => {
         del({
           targets: 'dist/*'
         }),
-        // TODO: remove consts if "environment" isn't needed any more for "getAPiUrl"
+        // TODO: remove consts if "environment" isn't needed any more because "getAPiUrl" is removed
         consts({
           environment: appEnv,
         }),
diff --git a/src/dbp-official-signature-pdf-upload.js b/src/dbp-official-signature-pdf-upload.js
index 8cd182b..58019a1 100644
--- a/src/dbp-official-signature-pdf-upload.js
+++ b/src/dbp-official-signature-pdf-upload.js
@@ -23,7 +23,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitElem
     constructor() {
         super();
         this.lang = i18n.language;
-        this.entryPointUrl = commonUtils.getAPiUrl();
+        this.entryPointUrl = '';
         this.nextcloudWebAppPasswordURL = "";
         this.nextcloudWebDavURL = "";
         this.nextcloudName = "";
diff --git a/src/dbp-qualified-signature-pdf-upload.js b/src/dbp-qualified-signature-pdf-upload.js
index b095efe..4e23ed1 100644
--- a/src/dbp-qualified-signature-pdf-upload.js
+++ b/src/dbp-qualified-signature-pdf-upload.js
@@ -23,7 +23,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitEle
     constructor() {
         super();
         this.lang = i18n.language;
-        this.entryPointUrl = commonUtils.getAPiUrl();
+        this.entryPointUrl = '';
         this.nextcloudWebAppPasswordURL = "";
         this.nextcloudWebDavURL = "";
         this.nextcloudName = "";
diff --git a/src/dbp-signature-verification-full.js b/src/dbp-signature-verification-full.js
index 9363973..d398f67 100644
--- a/src/dbp-signature-verification-full.js
+++ b/src/dbp-signature-verification-full.js
@@ -18,7 +18,7 @@ class SignatureVerificationFull extends ScopedElementsMixin(DBPSignatureLitEleme
     constructor() {
         super();
         this.lang = i18n.language;
-        this.entryPointUrl = commonUtils.getAPiUrl();
+        this.entryPointUrl = '';
         this.nextcloudWebAppPasswordURL = "";
         this.nextcloudWebDavURL = "";
         this.nextcloudName = "";
diff --git a/vendor/toolkit b/vendor/toolkit
index b6da8a3..9b22ade 160000
--- a/vendor/toolkit
+++ b/vendor/toolkit
@@ -1 +1 @@
-Subproject commit b6da8a3179ccd94bdaff9335b71d265fe6b3a501
+Subproject commit 9b22ade1ce4fab5cd44bb6bd8effeadd7357aaff
-- 
GitLab