From 5de416796ecb3e953d414e4289042aa628241bf7 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 18 Sep 2023 11:41:58 +0200 Subject: [PATCH] fix proof action --- ereuse_devicehub/resources/device/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/device/models.py b/ereuse_devicehub/resources/device/models.py index 31b22042..4aac75e3 100644 --- a/ereuse_devicehub/resources/device/models.py +++ b/ereuse_devicehub/resources/device/models.py @@ -987,7 +987,7 @@ class Device(Thing): d = { "type": PROOF_ENUM['Register'], "device": self, - "actions": snapshot[0], + "action": snapshot[0], "timestamp": timestamp, "issuer_id": g.user.id, }