We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72e6295 + 0f89875 commit dc03db9Copy full SHA for dc03db9
github.js
@@ -28,7 +28,7 @@
28
url: API_URL + path,
29
data: JSON.stringify(data),
30
dataType: 'json',
31
- contentType: 'application/x-www-form-urlencoded',
+ contentType: 'application/json',
32
success: function(res) { cb(null, res); },
33
error: function(err) { cb(err); },
34
headers : headers()
@@ -40,7 +40,7 @@
40
type: method,
41
42
43
44
45
46
@@ -345,4 +345,4 @@
345
return new Github.User();
346
};
347
348
-}).call(this);
+}).call(this);
0 commit comments