feat(backend): fixed nil tags response

This commit is contained in:
Alexander 2024-01-26 15:25:40 +01:00
parent 948daef310
commit 16af8ee09f

View file

@ -59,6 +59,9 @@ func (t *tagsImpl) Get(projectID uint32) ([]Tag, error) {
IgnoreDeadClick: ignoreDeadClick,
})
}
if tags == nil {
return []Tag{}, nil
}
return tags, nil
}