Update Heroku.php

This commit is contained in:
qkqpttgf 2020-08-04 14:39:59 +08:00 committed by GitHub
parent 2e8e29a35e
commit eac15d83f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)