this repo has no description

fix: use correct SQL query string variable

Changed files
+1 -1
pkg
mostliked
+1 -1
pkg/mostliked/generator.go
··· 37 37 fmt.Fprint(&query, "LIMIT ?") 38 38 queryParams = append(queryParams, params.Limit) 39 39 40 - rows, err := dbCnx.QueryContext(ctx, q.String(), queryParams...) 40 + rows, err := dbCnx.QueryContext(ctx, query.String(), queryParams...) 41 41 if err != nil { 42 42 return nil, err 43 43 }