mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Support image clips/gifs (#3583)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -45,11 +45,9 @@ var (
|
||||
func createFullImage(id int) models.Image {
|
||||
return models.Image{
|
||||
ID: id,
|
||||
Files: models.NewRelatedImageFiles([]*file.ImageFile{
|
||||
{
|
||||
BaseFile: &file.BaseFile{
|
||||
Path: path,
|
||||
},
|
||||
Files: models.NewRelatedFiles([]file.File{
|
||||
&file.BaseFile{
|
||||
Path: path,
|
||||
},
|
||||
}),
|
||||
Title: title,
|
||||
|
||||
Reference in New Issue
Block a user