mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
fix: fix slice init length (#5327)
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user