fixed missing reset of the uploadRequired flag
This commit is contained in:
parent
8068d829fe
commit
a871cfbb11
@ -169,7 +169,7 @@ func (d *localDataStore) SavePiwigoIdAndUpdateUploadFlag(md5Sum string, piwigoId
|
||||
return err
|
||||
}
|
||||
|
||||
stmt, err := tx.Prepare("UPDATE image SET piwigoId = ? WHERE md5sum = ?")
|
||||
stmt, err := tx.Prepare("UPDATE image SET piwigoId = ?, uploadRequired = 0 WHERE md5sum = ?")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user