From 45c8cd02dbe594db63db4109d8d4a1a179f8d8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 19 Sep 2024 23:24:23 +0900 Subject: [PATCH] Automation init...3 --- app/Controllers/Cloudflare/AccountController.php | 2 +- app/Controllers/Cloudflare/Admin/AccountController.php | 2 +- app/Libraries/MySocket/Cloudflare/AccountSocket.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controllers/Cloudflare/AccountController.php b/app/Controllers/Cloudflare/AccountController.php index 6f39ef8..81dd6fa 100644 --- a/app/Controllers/Cloudflare/AccountController.php +++ b/app/Controllers/Cloudflare/AccountController.php @@ -39,7 +39,7 @@ class AccountController extends MyCloudflare $this->_email = $this->request->getVar('email'); $this->_api_key = $this->request->getVar('key'); //전송 - $result = $this->getMySocket()->create($this->_email); + $result = $this->getMySocket()->create_process($this->_email); $formDatas = []; $formDatas['key'] = $this->_api_key; $entity = $this->getMyStorage()->create_process($result, $formDatas); diff --git a/app/Controllers/Cloudflare/Admin/AccountController.php b/app/Controllers/Cloudflare/Admin/AccountController.php index d6e679e..a3cb1e8 100644 --- a/app/Controllers/Cloudflare/Admin/AccountController.php +++ b/app/Controllers/Cloudflare/Admin/AccountController.php @@ -43,7 +43,7 @@ class AccountController extends MyCloudflare $this->_email = $this->request->getVar('email'); $this->_api_key = $this->request->getVar('key'); //전송 - $result = $this->getMySocket()->create($this->_email); + $result = $this->getMySocket()->create_process($this->_email); $formDatas = []; $formDatas['key'] = $this->_api_key; $entity = $this->getMyStorage()->create_process($result, $formDatas); diff --git a/app/Libraries/MySocket/Cloudflare/AccountSocket.php b/app/Libraries/MySocket/Cloudflare/AccountSocket.php index 1c9c5b3..dcf44ae 100644 --- a/app/Libraries/MySocket/Cloudflare/AccountSocket.php +++ b/app/Libraries/MySocket/Cloudflare/AccountSocket.php @@ -11,7 +11,7 @@ class AccountSocket extends CloudflareSocket parent::__construct($email, $api_key); } - final public function create(string $name, string $type = "standard") + final public function create_process(string $name, string $type = "standard") { $datas = [ 'name' => $name . "'s Account",