{"action":"closed","issue":{"url":"https://api.github.com/repos/Tidwell/node-challonge/issues/1","repository_url":"https://api.github.com/repos/Tidwell/node-challonge","labels_url":"https://api.github.com/repos/Tidwell/node-challonge/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Tidwell/node-challonge/issues/1/comments","events_url":"https://api.github.com/repos/Tidwell/node-challonge/issues/1/events","html_url":"https://github.com/Tidwell/node-challonge/issues/1","id":146533946,"number":1,"title":"Does not create tournament","user":{"login":"nmynarcik","id":574986,"avatar_url":"https://avatars.githubusercontent.com/u/574986?v=3","gravatar_id":"","url":"https://api.github.com/users/nmynarcik","html_url":"https://github.com/nmynarcik","followers_url":"https://api.github.com/users/nmynarcik/followers","following_url":"https://api.github.com/users/nmynarcik/following{/other_user}","gists_url":"https://api.github.com/users/nmynarcik/gists{/gist_id}","starred_url":"https://api.github.com/users/nmynarcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmynarcik/subscriptions","organizations_url":"https://api.github.com/users/nmynarcik/orgs","repos_url":"https://api.github.com/users/nmynarcik/repos","events_url":"https://api.github.com/users/nmynarcik/events{/privacy}","received_events_url":"https://api.github.com/users/nmynarcik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T07:32:50Z","updated_at":"2016-04-12T04:43:41Z","closed_at":"2016-04-12T04:43:41Z","body":"When creating a tournament, I get a success response back from the callback, but returns no data and no new tournament is created.\r\n\r\n```javascript\r\nvar challonge_node = require('challonge');\r\nvar AuthDetails = require('./auth.json');\r\n\r\nfunction ChallongePlugin () {\r\n\tthis.challonge = challonge_node.createClient({\r\n\t\tapiKey: AuthDetails.challonge\r\n\t});\r\n}\r\n\r\n// create a tournament\r\nChallongePlugin.prototype.create = function(tourneyData){\r\n\tthis.challonge.tournaments.create({\r\n\t\ttournament: {\r\n\t\t\tname: 'my name',\r\n\t\t\turl: 'my-url',\r\n\t\t\ttournamentType: 'single elimination',\r\n\t\t},\r\n\t\tcallback: function(err, data){\r\n\t\t\tconsole.log(arguments);\r\n\t\t\tif (err) { console.log('::ERROR::',err); return; }\r\n\t\t\tconsole.log('::Tournament Created::',data);\r\n\t\t}\r\n\t});\r\n}\r\n```"}}