From d7661adc09fbd42c0ed0c69a332e3229395eccac Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sat, 23 Sep 2023 16:04:10 +0200 Subject: [PATCH] fix tag error in item sprints doing the opposite of what it should. --- usecases/sprints/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usecases/sprints/service.go b/usecases/sprints/service.go index b79b44a..d4d16db 100644 --- a/usecases/sprints/service.go +++ b/usecases/sprints/service.go @@ -215,7 +215,7 @@ func (s *Service) Create(ctx context.Context, sprint entities.Sprint, parts []en } } - if len(sprint.Tags) == 0 { + if len(sprint.Tags) > 0 { return nil, models.BadInputError{ Object: "SprintInput", Field: "tags",