mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Don't set default studio image (#887)
This commit is contained in:
@@ -19,14 +19,12 @@ func (r *mutationResolver) StudioCreate(ctx context.Context, input models.Studio
|
|||||||
var imageData []byte
|
var imageData []byte
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
if input.Image == nil {
|
|
||||||
input.Image = &models.DefaultStudioImage
|
|
||||||
}
|
|
||||||
|
|
||||||
// Process the base 64 encoded image string
|
// Process the base 64 encoded image string
|
||||||
_, imageData, err = utils.ProcessBase64Image(*input.Image)
|
if input.Image != nil {
|
||||||
if err != nil {
|
_, imageData, err = utils.ProcessBase64Image(*input.Image)
|
||||||
return nil, err
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Populate a new studio from the input
|
// Populate a new studio from the input
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
* Re-show preview thumbnail when mousing away from scene card.
|
* Re-show preview thumbnail when mousing away from scene card.
|
||||||
|
|
||||||
### 🐛 Bug fixes
|
### 🐛 Bug fixes
|
||||||
|
* Don't set default studio image during studio creation.
|
||||||
* Fix invalid date tag preventing video file from being scanned.
|
* Fix invalid date tag preventing video file from being scanned.
|
||||||
* Fix error when creating movie from scene scrape dialog.
|
* Fix error when creating movie from scene scrape dialog.
|
||||||
* Fix incorrect date timezone.
|
* Fix incorrect date timezone.
|
||||||
|
|||||||
Reference in New Issue
Block a user