From 6a5def8590c933b524d69fb3657260806d4c8e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Fri, 6 Jan 2023 22:59:48 +0000 Subject: [PATCH] feat: force digest identifier return --- src/omni/signed_document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omni/signed_document.py b/src/omni/signed_document.py index 1d591a0..f9dc0da 100644 --- a/src/omni/signed_document.py +++ b/src/omni/signed_document.py @@ -58,7 +58,7 @@ def qr_code_document(self, object_id): def digest_identifier_document(self, object_id): url = self.base_url + "omni/signed_documents/%d/digest_identifier.json" % object_id contents = self.get(url) - return contents + return contents["digest_identifier"] def verify_signed_document(self, object_id): url = self.base_url + "omni/signed_documents/%d/verify.json" % object_id