Add Path to image scraper args

This commit is contained in:
NativeRavenclaw 2026-04-22 20:02:31 +02:00
parent 22d2dbc46b
commit a32b5da999
2 changed files with 2 additions and 0 deletions

View file

@ -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"`

View file

@ -459,5 +459,6 @@ func imageToUpdateInput(gallery *models.Image) models.ImageUpdateInput {
Details: &gallery.Details,
Urls: urls,
Date: dateToStringPtr(gallery.Date),
Path: &gallery.Path,
}
}