better error message on receiving snapshot

This commit is contained in:
pedro 2025-01-30 08:09:20 +01:00
parent 0485604512
commit 096704935d

View file

@ -90,7 +90,7 @@ class NewSnapshotView(ApiMixing):
ev_uuid = data["credentialSubject"].get("uuid")
if not ev_uuid:
txt = "error: the snapshot not have uuid"
txt = "error: the snapshot does not have an uuid"
logger.error("%s", txt)
return JsonResponse({'status': txt}, status=500)