add context to json for only chassis

This commit is contained in:
Cayo Puigdefabregas 2023-09-18 16:35:30 +02:00
parent 2f250402e3
commit 274c99db43
1 changed files with 4 additions and 1 deletions

View File

@ -200,7 +200,10 @@ class DidView(View):
'algorithm': "sha3_256", 'algorithm': "sha3_256",
} }
dpps.append(rr) dpps.append(rr)
return {'data': dpps} return {
'@context': ['https://ereuse.org/dpp0.json'],
'data': dpps,
}
def get_manuals(self): def get_manuals(self):
manuals = { manuals = {