Browse Source

fix tag error in item sprints doing the opposite of what it should.

master
Gisle Aune 8 months ago
parent
commit
d7661adc09
  1. 2
      usecases/sprints/service.go

2
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{ return nil, models.BadInputError{
Object: "SprintInput", Object: "SprintInput",
Field: "tags", Field: "tags",

Loading…
Cancel
Save