From b5f6032e2b047f3c5f9a7be5dba9e41c7f6bd8d1 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 27 Jul 2020 10:12:32 +0800 Subject: [PATCH] fix bug, in install --- platform/AliyunFC.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/AliyunFC.php b/platform/AliyunFC.php index 9833d09..d96330d 100644 --- a/platform/AliyunFC.php +++ b/platform/AliyunFC.php @@ -155,7 +155,7 @@ function install() $AccessKeySecret = $_POST['AccessKeySecret']; $tmp['AccessKeySecret'] = $AccessKeySecret; } - $response = json_decode(SetbaseConfig($tmp, $_SERVER['accountId'], $_SERVER['region'], $_SERVER['service_name'], $_SERVER['function_name'], $AccessKeyID, $AccessKeySecret), true); + $response = SetbaseConfig($tmp, $_SERVER['accountId'], $_SERVER['region'], $_SERVER['service_name'], $_SERVER['function_name'], $AccessKeyID, $AccessKeySecret); if (api_error($response)) { $html = api_error_msg($response); $title = 'Error';