Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix invalid input syntax for bigint
Browse files Browse the repository at this point in the history
invalid input syntax for type bigint: \"SHA256\"
  • Loading branch information
blankdots authored Oct 16, 2023
1 parent 37674cd commit 0ba4e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/database/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ func (dbs *SQLdb) markCompleted(file FileInfo, fileID, corrID string) error {
corrID,
fmt.Sprintf("%x", file.Checksum.Sum(nil)),
hashType(file.Checksum),
file.DecryptedSize,
fmt.Sprintf("%x", file.DecryptedChecksum.Sum(nil)),
hashType(file.DecryptedChecksum),
file.DecryptedSize,
)
if err != nil {
return err
Expand Down

0 comments on commit 0ba4e60

Please sign in to comment.