From 4cad3eb0632436589ea8b004f97e87cd909121d4 Mon Sep 17 00:00:00 2001 From: pedro Date: Mon, 14 Oct 2024 20:08:50 +0200 Subject: [PATCH] relevant note for current snapshot api --- api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/views.py b/api/views.py index 72f5c12..175fe3e 100644 --- a/api/views.py +++ b/api/views.py @@ -73,6 +73,7 @@ def NewSnapshot(request): annotation = Annotation.objects.filter( uuid=data['uuid'], type=Annotation.Type.SYSTEM, + # TODO this is hardcoded, it should select the user preferred algorithm key="hidalgo1", owner=tk.owner.institution ).first()