diff --git a/src/dbp-official-signature-pdf-upload.js b/src/dbp-official-signature-pdf-upload.js index 113602b387fdfaf6b677012960446e40e145b67a..9bbd1d39e4ea72434f690e3df9152834e6cb640a 100644 --- a/src/dbp-official-signature-pdf-upload.js +++ b/src/dbp-official-signature-pdf-upload.js @@ -288,13 +288,7 @@ class OfficialSignaturePdfUpload extends ScopedElementsMixin(DBPSignatureLitElem break; case "entryPointUrl": JSONLD.initialize(this.entryPointUrl, (jsonld) => { - let apiUrlBase; - try { - // Old name, remove eventually - apiUrlBase = jsonld.getApiUrlForEntityName("OfficiallySignedDocument"); - } catch(error) { - apiUrlBase = jsonld.getApiUrlForEntityName("AdvancedlySignedDocument"); - } + let apiUrlBase = jsonld.getApiUrlForEntityName("AdvancedlySignedDocument"); this.fileSourceUrl = apiUrlBase; }); break;