From 274c99db4313bf179166ee7e14a22a9a84107a51 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 18 Sep 2023 16:35:30 +0200 Subject: [PATCH] add context to json for only chassis --- ereuse_devicehub/modules/did/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/modules/did/views.py b/ereuse_devicehub/modules/did/views.py index 16921330..6d661019 100644 --- a/ereuse_devicehub/modules/did/views.py +++ b/ereuse_devicehub/modules/did/views.py @@ -200,7 +200,10 @@ class DidView(View): 'algorithm': "sha3_256", } dpps.append(rr) - return {'data': dpps} + return { + '@context': ['https://ereuse.org/dpp0.json'], + 'data': dpps, + } def get_manuals(self): manuals = {