diff --git a/job.go b/job.go index e365519..3bbbd1c 100644 --- a/job.go +++ b/job.go @@ -946,7 +946,7 @@ func jobVaultItemStatus(j Job) { currentItemID64 = 0 for rows.Next() { - err = rows.Scan(&itemID64, &userID64, &deposit, &withdraw) + err = rows.Scan(&itemID64, &user, &deposit, &withdraw) logOnError(err, "jobVaultItemStatus : scan next val") if itemID64 != currentItemID64 { if currentItemID64 != 0 { @@ -972,7 +972,7 @@ func jobVaultItemStatus(j Job) { withdrawList = nil } - userList = append(userList, userID64) + userList = append(userList, user) depositList = append(depositList, deposit) withdrawList = append(withdrawList, withdraw) }