From 3f5460b81f28efdea1bcff8f8309078b6a0777a4 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 29 Nov 2024 15:48:48 +0100 Subject: [PATCH] fix did dpp --- did/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/did/views.py b/did/views.py index 2c834ea..efeb673 100644 --- a/did/views.py +++ b/did/views.py @@ -133,7 +133,7 @@ class PublicDeviceWebView(TemplateView): dev = Build(d.doc, None, check=True) doc = dev.get_phid() ev = json.dumps(doc) - phid = dev.get_signature(ev) + phid = dev.get_signature(doc) dpp = "{}:{}".format(self.pk, phid) rr = { 'dpp': dpp,