diff --git a/pkg/models/model_joins.go b/pkg/models/model_joins.go index 7b7cae3e4..c6cc8c2b2 100644 --- a/pkg/models/model_joins.go +++ b/pkg/models/model_joins.go @@ -33,7 +33,7 @@ func (u *UpdateGroupIDs) SceneMovieInputs() []SceneMovieInput { return nil } - ret := make([]SceneMovieInput, len(u.Groups)) + ret := make([]SceneMovieInput, 0, len(u.Groups)) for _, id := range u.Groups { ret = append(ret, id.SceneMovieInput()) }