Traitement commandes et ajout J/arrow + Fix login
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = getRewardData = (async () => {
|
||||
database: process.env.MYSQL_DATABASE
|
||||
})
|
||||
|
||||
// Retrieve the count of rewards claimed by each user, sorted by count
|
||||
// Retrieve the count of rewards claimed by each viewer, sorted by count
|
||||
let results = await connection.execute('SELECT * FROM rewards ORDER BY count DESC')
|
||||
.then(async ([rows, fields]) => { return rows })
|
||||
.catch(error => { console.error(error) })
|
||||
|
||||
Reference in New Issue
Block a user