|
|
@ -15,7 +15,7 @@ var notifyStatus = function (options, callback) { |
|
|
|
json: { |
|
|
|
json: { |
|
|
|
state: options.state, |
|
|
|
state: options.state, |
|
|
|
target_url: "https://mbs.pos/status/" + options.owner + "/" + options.reponame + "/" + options.hash, |
|
|
|
target_url: "https://mbs.pos/status/" + options.owner + "/" + options.reponame + "/" + options.hash, |
|
|
|
description: options.description |
|
|
|
description: (options.description || "").substr(0, 140) |
|
|
|
} |
|
|
|
} |
|
|
|
}, function (err, response, body) { |
|
|
|
}, function (err, response, body) { |
|
|
|
if (err) { |
|
|
|
if (err) { |
|
|
|