mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-01-10 23:48:45 +03:00
fix: BumpThreadInTx method
This commit is contained in:
parent
736be1f461
commit
aafbf6b1fe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user