Skip to content

Commit

Permalink
Add a bit more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
drzel committed Jan 22, 2024
1 parent ebbd2b6 commit 1d5fa44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ssqc/quadmode.qc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ void () PostFOQuadFinalRoundStarted = {
data = strcat(data, "}\n");

local string uri = sprintf("%s/results/api/v1/matches/%s", backend_address, match_id);
dprint("POST to ", uri, "\n");
dprint(data);
uri_post(uri, FO_QUAD_STARTED_REQUEST, "application/json", data);
};

Expand Down Expand Up @@ -203,6 +205,8 @@ void (float winner) PostFOQuadFinished = {
data = strcat(data, "}\n");

local string uri = sprintf("%s/results/api/v1/matches/%s", backend_address, match_id);
dprint("POST to ", uri, "\n");
dprint(data);
uri_post(uri, FO_QUAD_FINISHED_REQUEST, "application/json", data);
};

Expand Down

0 comments on commit 1d5fa44

Please sign in to comment.