add context to json

This commit is contained in:
Cayo Puigdefabregas 2023-09-18 16:05:10 +02:00
parent 5de416796e
commit 3f86242bfb
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class DidView(View):
def get_result(self): def get_result(self):
components = [] components = []
data = { data = {
'@context': ['https://ereuse.org/dpp0.json'],
'document': {}, 'document': {},
'dpp': self.id_dpp, 'dpp': self.id_dpp,
'algorithm': "sha3_256", 'algorithm': "sha3_256",