fix row collection
All checks were successful
/ release (push) Successful in 28s

This commit is contained in:
Samuel Lorch 2024-07-11 22:55:39 +02:00
parent aeb47c2593
commit 81fa489417

View file

@ -138,7 +138,7 @@ func manageScan(stop chan bool, scanPool *workerpool.WorkerPool, hashPool *worke
return
}
files, err := pgx.CollectRows[uint](rows, pgx.RowToStructByName[uint])
files, err := pgx.CollectRows[uint](rows, pgx.RowTo[uint])
if err != nil {
slog.ErrorContext(ctx, "Collect File Rows", "err", err)
return