mirror of https://github.com/calzoneman/sync.git
Fix #160
This commit is contained in:
parent
63e6cf3803
commit
c8ff3b4bcb
|
@ -158,7 +158,7 @@ exports.getSCInfo = function(url, callback) {
|
||||||
path: "/resolve.json?url="+url+"&client_id=" + SC_CLIENT,
|
path: "/resolve.json?url="+url+"&client_id=" + SC_CLIENT,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
dataType: "jsonp",
|
dataType: "jsonp",
|
||||||
timeout: 1000}, function(status, data) {
|
timeout: 1000}, function(err, status, data) {
|
||||||
// This time we can ACTUALLY get the data we want
|
// This time we can ACTUALLY get the data we want
|
||||||
getJSON({
|
getJSON({
|
||||||
host: "api.soundcloud.com",
|
host: "api.soundcloud.com",
|
||||||
|
|
Loading…
Reference in New Issue