feat(backend): send empty list instead of null (conditions)
This commit is contained in:
parent
9e3548e9ce
commit
b6fe561242
1 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ func (c *conditionsImpl) getConditions(projectID uint32) ([]ConditionSet, error)
|
|||
}
|
||||
c.cache[projectID] = conditionSet
|
||||
|
||||
if conditions == nil {
|
||||
return []ConditionSet{}, nil
|
||||
}
|
||||
return conditions, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue