fix: BumpThreadInTx method

This commit is contained in:
Yanislav Igonin 2022-02-03 18:28:22 +02:00
parent 736be1f461
commit aafbf6b1fe

View File

@ -276,6 +276,6 @@ func (r *PostsRepository) BumpThreadInTx(tx pgx.Tx, id int) error {
WHERE id = $1
`
_, err := tx.Query(context.TODO(), sql, id)
_, err := tx.Exec(context.TODO(), sql, id)
return err
}