From b29086e46da4aa3961f07d0f2fe3fd49c842b3e2 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 5 Jun 2023 16:03:35 +0200 Subject: [PATCH] fix --- ereuse_devicehub/did/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/did/views.py b/ereuse_devicehub/did/views.py index 8f3ab4cb..676cdfe3 100644 --- a/ereuse_devicehub/did/views.py +++ b/ereuse_devicehub/did/views.py @@ -160,7 +160,7 @@ class DidView(View): url_last = '' if last_dpp: url_last = 'https://{host}/{did}'.format( - did=last_dpp, host=app.config.get('HOST') + did=last_dpp.key, host=app.config.get('HOST') ) data['url_last'] = url_last return result