mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix missing tag images (#3736)
This commit is contained in:
parent
a2e477e1a7
commit
11344c51b7
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func (r *tagResolver) ImagePath(ctx context.Context, obj *models.Tag) (*string,
|
||||||
var hasImage bool
|
var hasImage bool
|
||||||
if err := r.withReadTxn(ctx, func(ctx context.Context) error {
|
if err := r.withReadTxn(ctx, func(ctx context.Context) error {
|
||||||
var err error
|
var err error
|
||||||
hasImage, err = r.repository.Performer.HasImage(ctx, obj.ID)
|
hasImage, err = r.repository.Tag.HasImage(ctx, obj.ID)
|
||||||
return err
|
return err
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue