Browse Source

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

master
Gisle Aune 7 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{
Object: "SprintInput",
Field: "tags",

Loading…
Cancel
Save