diff --git a/pkg/models/image.go b/pkg/models/image.go index b99267e8c..1a5d6355f 100644 --- a/pkg/models/image.go +++ b/pkg/models/image.go @@ -79,6 +79,7 @@ type ImageUpdateInput struct { Urls []string `json:"urls"` Date *string `json:"date"` Details *string `json:"details"` + Path *string `json:"path"` Photographer *string `json:"photographer"` Rating100 *int `json:"rating100"` Organized *bool `json:"organized"` diff --git a/pkg/scraper/stash.go b/pkg/scraper/stash.go index 23c4b9063..29c43749c 100644 --- a/pkg/scraper/stash.go +++ b/pkg/scraper/stash.go @@ -459,5 +459,6 @@ func imageToUpdateInput(gallery *models.Image) models.ImageUpdateInput { Details: &gallery.Details, Urls: urls, Date: dateToStringPtr(gallery.Date), + Path: &gallery.Path, } }