Commit 445a1b47 authored by Aaron Tidwell's avatar Aaron Tidwell

comments

parent 5d30a20c
...@@ -86,7 +86,7 @@ http://api.challonge.com/v1/documents/participants/create shows participant_id a ...@@ -86,7 +86,7 @@ http://api.challonge.com/v1/documents/participants/create shows participant_id a
http://api.challonge.com/v1/documents/participants/randomize shows participant_id as a required field when the server does not respect passing it, and is not required. http://api.challonge.com/v1/documents/participants/randomize shows participant_id as a required field when the server does not respect passing it, and is not required.
Also, I think the server might be sending an invalid header on randomize somehow. Node doesn't handle invalid headers well, will look into the causes for: Also, I think the server might be sending an invalid content-length header on randomize somehow. Node doesn't handle invalid headers well, will look into the causes for:
``` ```
[Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' in node. [Error: Parse Error] bytesParsed: 0, code: 'HPE_INVALID_CONSTANT' in node.
......
...@@ -5,7 +5,7 @@ var client = challonge.createClient({ ...@@ -5,7 +5,7 @@ var client = challonge.createClient({
format: 'json' format: 'json'
}); });
var tourneyName = 'tststny_2'; var tourneyName = '710101';
function index() { function index() {
client.tournaments.index({ client.tournaments.index({
...@@ -202,9 +202,9 @@ function mupdate() { ...@@ -202,9 +202,9 @@ function mupdate() {
index(); //index();
//create(); //create();
//show(); show();
//update(); //update();
//destroy(); //destroy();
//start(); //start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment