fix dhid 6 characters

This commit is contained in:
Cayo Puigdefabregas 2024-10-14 17:54:58 +02:00
parent 2b40104180
commit e47a7d80f2

View file

@ -88,7 +88,7 @@ def NewSnapshot(request):
)
response = {
"status": "success",
"dhid": annotation.value[:5].upper(),
"dhid": annotation.value[:6].upper(),
"url": url,
"public_url": url
}