Skip to content

Commit

Permalink
Fix database locked on image cover too big bug (#359) (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkai authored Feb 13, 2020
1 parent ae5aa6a commit df890dc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/api/resolver_mutation_scene.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ func (r *mutationResolver) sceneUpdate(input models.SceneUpdateInput, tx *sqlx.T

// only update the cover image if provided and everything else was successful
if coverImageData != nil {
scene, err := qb.Find(sceneID)
if err != nil {
return nil, err
}

err = manager.SetSceneScreenshot(scene.Checksum, coverImageData)
if err != nil {
Expand Down

0 comments on commit df890dc

Please sign in to comment.