From 7da60dc2bb1ed2e9468e17a4efdd6a5cb5394714 Mon Sep 17 00:00:00 2001 From: Dove Chen Date: Mon, 11 Oct 2021 13:57:23 +0800 Subject: [PATCH] fix kf wording char type --- Work.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Work.php b/Work.php index 96bebef..80eefac 100644 --- a/Work.php +++ b/Work.php @@ -1638,7 +1638,7 @@ public function kfCustomerUpgradeServiceForMember (string $open_kfid, string $ex Utils::checkNotEmptyStr($open_kfid, 'open_kfid'); Utils::checkNotEmptyStr($external_userid, 'external_userid'); Utils::checkNotEmptyStr($userid, 'userid'); - Utils::checkNotEmptyArray($wording, 'wording'); + Utils::checkNotEmptyStr($wording, 'wording'); $args = [ 'open_kfid' => $open_kfid, 'external_userid' => $external_userid, @@ -1676,7 +1676,7 @@ public function kfCustomerUpgradeServiceForChat (string $open_kfid, string $exte Utils::checkNotEmptyStr($open_kfid, 'open_kfid'); Utils::checkNotEmptyStr($external_userid, 'external_userid'); Utils::checkNotEmptyStr($chat_id, 'chat_id'); - Utils::checkNotEmptyArray($wording, 'wording'); + Utils::checkNotEmptyStr($wording, 'wording'); $args = [ 'open_kfid' => $open_kfid, 'external_userid' => $external_userid,