Skip to content

Commit

Permalink
feat(backend): fixed nil tags response
Browse files Browse the repository at this point in the history
  • Loading branch information
zavorotynskiy committed Jan 26, 2024
1 parent 948daef commit 16af8ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/pkg/tags/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func (t *tagsImpl) Get(projectID uint32) ([]Tag, error) {
IgnoreDeadClick: ignoreDeadClick,
})
}
if tags == nil {
return []Tag{}, nil
}
return tags, nil
}

Expand Down

0 comments on commit 16af8ee

Please sign in to comment.