Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/router/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ router.get('/active-users', async function (req, res) {
const { rows } = await db.query(`
WITH active_characters AS (
SELECT
user_id, hero, level, difficulty, area,
user_id, hero, level, difficulty, area, gold_stash, gold,
ROW_NUMBER() OVER (PARTITION BY user_id ORDER BY update_time DESC) as user_index
FROM characters WHERE update_time > $1
)
Expand Down