From e47a7d80f2c1feb8ea9b6c981c63a3a4df4b5041 Mon Sep 17 00:00:00 2001
From: Cayo Puigdefabregas <cayo@puigdefabregas.eu>
Date: Mon, 14 Oct 2024 17:54:58 +0200
Subject: [PATCH] fix dhid 6 characters

---
 api/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/views.py b/api/views.py
index 62477ff..72f5c12 100644
--- a/api/views.py
+++ b/api/views.py
@@ -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
     }