fix did dpp
This commit is contained in:
parent
bf7975bc24
commit
3f5460b81f
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue