mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
fix: fix slice init length (#5327)
This commit is contained in:
parent
c6c3754f02
commit
9765b6d50e
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ func (u *UpdateGroupIDs) SceneMovieInputs() []SceneMovieInput {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
ret := make([]SceneMovieInput, len(u.Groups))
|
ret := make([]SceneMovieInput, 0, len(u.Groups))
|
||||||
for _, id := range u.Groups {
|
for _, id := range u.Groups {
|
||||||
ret = append(ret, id.SceneMovieInput())
|
ret = append(ret, id.SceneMovieInput())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue