We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea1ae15 commit babc0cfCopy full SHA for babc0cf
pkg/queries/reward.go
@@ -18,7 +18,7 @@ func Ranklist(db *gorm.DB) ([]models.RanklistResponse, error) {
18
Select("nick_name", "reward", "is_anonymous").
19
Order("reward DESC").
20
Limit(30).
21
- Scan(&ranklist)
+ Find(&ranklist)
22
23
for i := range ranklist {
24
if ranklist[i].IsAnonymous {
0 commit comments