From 2c21977c7ca5a52f7fc5f0d716bc4e035828a028 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,