Fix database locked on image cover too big bug (#359) (#360)

This commit is contained in:
bnkai 2020-02-13 02:57:17 +02:00 committed by GitHub
parent ae5aa6a6ec
commit df890dca79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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 {