This commit is contained in:
parent
aeb47c2593
commit
81fa489417
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue