Update Heroku.php

This commit is contained in:
qkqpttgf
2020-08-04 14:39:59 +08:00
committed by GitHub
parent 2e8e29a35e
commit eac15d83f8
+1 -1
View File
@@ -261,7 +261,7 @@ function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch =
{
//'https://github.com/qkqpttgf/OneManager-php/tarball/master/';
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . urlencode($branch) . '/';
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
return updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source);
}
function setConfigResponse($response)