dont ommit empty json lists
This commit is contained in:
@@ -12,5 +12,6 @@ import (
|
||||
func (c *Controller) ServeGetGenres(r *http.Request) *spec.Response {
|
||||
sub := spec.NewResponse()
|
||||
sub.Genres = &spec.Genres{}
|
||||
sub.Genres.List = []*spec.Genre{}
|
||||
return sub
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user