fix bug
parent
3f63374740
commit
0169c5bb9a
|
@ -255,7 +255,7 @@ function getHerokuConfig($function_name, $apikey)
|
||||||
|
|
||||||
function setHerokuConfig($env, $function_name, $apikey)
|
function setHerokuConfig($env, $function_name, $apikey)
|
||||||
{
|
{
|
||||||
sortConfig($env);
|
//sortConfig($env);
|
||||||
$data = json_encode($env);
|
$data = json_encode($env);
|
||||||
return HerokuAPI('PATCH', 'https://api.heroku.com/apps/' . $function_name . '/config-vars', $data, $apikey);
|
return HerokuAPI('PATCH', 'https://api.heroku.com/apps/' . $function_name . '/config-vars', $data, $apikey);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue