fix did dpp

This commit is contained in:
Cayo Puigdefabregas 2024-11-29 15:48:48 +01:00
parent bf7975bc24
commit 3f5460b81f

View file

@ -133,7 +133,7 @@ class PublicDeviceWebView(TemplateView):
dev = Build(d.doc, None, check=True) dev = Build(d.doc, None, check=True)
doc = dev.get_phid() doc = dev.get_phid()
ev = json.dumps(doc) ev = json.dumps(doc)
phid = dev.get_signature(ev) phid = dev.get_signature(doc)
dpp = "{}:{}".format(self.pk, phid) dpp = "{}:{}".format(self.pk, phid)
rr = { rr = {
'dpp': dpp, 'dpp': dpp,