From 0caa7e56474982270c29c1ccefc44df99faf6e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Mon, 16 Oct 2023 14:22:33 +0900 Subject: [PATCH] cfmgr init...100 --- app/Controllers/CLI/Cloudflare/API/Account.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/CLI/Cloudflare/API/Account.php b/app/Controllers/CLI/Cloudflare/API/Account.php index 06637bc..e8fbf01 100644 --- a/app/Controllers/CLI/Cloudflare/API/Account.php +++ b/app/Controllers/CLI/Cloudflare/API/Account.php @@ -10,11 +10,11 @@ class Account extends API { if ($auth_uid) { $entitys = $this->getAccountModel()->asObject(AccountEntity::class) - ->where(['status' => 'use', 'auth_uid' => $auth_uid]) + ->where(['auth_uid' => $auth_uid]) ->findAll(); } else { $entitys = $this->getAccountModel()->asObject(AccountEntity::class) - ->where('status', 'use') + ->where(['cli' => 'use']) ->findAll(); } echo __FUNCTION__ . "에서 호출:" . $this->getAccountModel()->getLastQuery();