mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
added details, deathdate, hair color, weight to performers and added details to studios (#1274)
* added details to performers and studios * added deathdate, hair_color and weight to performers * Simplify performer/studio create mutations * Add changelog and recategorised Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -23,6 +23,10 @@ func ToJSON(reader models.StudioReader, studio *models.Studio) (*jsonschema.Stud
|
||||
newStudioJSON.URL = studio.URL.String
|
||||
}
|
||||
|
||||
if studio.Details.Valid {
|
||||
newStudioJSON.Details = studio.Details.String
|
||||
}
|
||||
|
||||
if studio.ParentID.Valid {
|
||||
parent, err := reader.Find(int(studio.ParentID.Int64))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user