Skip to content

Commit

Permalink
Merge pull request #21 from whummer/json-stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Aug 29, 2023
2 parents eea5d2e + 949e1e6 commit 4f09b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.w
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ api.get("/leaderboard", inflight (_) => {
// Select the winner between a pair of options
api.post("/selectWinner", inflight (req) => {
let body = Json.parse(req.body ?? "");
log(Json.stringify(body, 2));
log(Json.stringify(body, indent: 2));
let selections = SelectWinnerRequest.fromJson(body);

let var newScores = Array<num>[];
Expand Down

0 comments on commit 4f09b14

Please sign in to comment.