Fix delete task with evidences 5xx

close #64

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-27 08:05:18 +01:00
parent 739fc613dc
commit 9f4ac8fb79
3 changed files with 11 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ import (
type (
Evidence struct {
ID gid.GID `db:"id"`
TaskID gid.GID `db:"task_id"`
TaskID *gid.GID `db:"task_id"`
State EvidenceState `db:"state"`
Type EvidenceType `db:"type"`
ObjectKey string `db:"object_key"`