Skip to content

Commit

Permalink
fix: random card not respecting format (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviortheking authored Nov 27, 2024
1 parent 8610bd6 commit d291c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/V2/endpoints/jsonEndpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ server
}
const item = Math.min(data.length - 1, Math.max(0, Math.round(Math.random() * data.length)))
req.DO_NOT_CACHE = true
res.json(data[item])
res.json(data[item].full())
})


Expand Down

0 comments on commit d291c69

Please sign in to comment.