Skip to content

Commit

Permalink
fix: update convert uint64 make sec alert 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinezAvellan committed Oct 2, 2024
1 parent 11b9d97 commit 3779924
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ func (r *OperationPostgreSQLRepository) FindAll(ctx context.Context, organizatio
Where(sqrl.Expr("transaction_id = ?", transactionID)).
Where(sqrl.Eq{"deleted_at": nil}).
OrderBy("created_at DESC").
Limit(uint64(limit)).
Offset(uint64((page - 1) * limit)).
Limit(common.SafeIntToUint64(limit)).
Offset(common.SafeIntToUint64((page - 1) * limit)).
PlaceholderFormat(sqrl.Dollar)

query, args, err := findAll.ToSql()
Expand Down

0 comments on commit 3779924

Please sign in to comment.