feat(backend): fixed nil tags response
This commit is contained in:
parent
948daef310
commit
16af8ee09f
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ func (t *tagsImpl) Get(projectID uint32) ([]Tag, error) {
|
|||
IgnoreDeadClick: ignoreDeadClick,
|
||||
})
|
||||
}
|
||||
if tags == nil {
|
||||
return []Tag{}, nil
|
||||
}
|
||||
return tags, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue