From: Ubuntu Date: Mon, 23 Aug 2021 16:42:18 +0000 (+0000) Subject: implement-basicbatchaction-getselect X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1af0554df6777702702b870cba0175afda8fe7a7;p=civicrm-core.git implement-basicbatchaction-getselect --- diff --git a/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php b/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php index 043a83b5d2..5a1e4c523f 100644 --- a/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php +++ b/ext/oauth-client/Civi/Api4/Action/OAuthSysToken/Refresh.php @@ -38,10 +38,15 @@ class Refresh extends BasicBatchAction { private $syncFields = ['access_token', 'refresh_token', 'expires', 'token_type']; private $writeFields = ['access_token', 'refresh_token', 'expires', 'token_type', 'raw']; + private $selectFields = ['id', 'client_id', 'access_token', 'refresh_token', 'expires', 'token_type', 'raw']; private $providers = []; public function __construct($entityName, $actionName) { - parent::__construct($entityName, $actionName, '*'); + parent::__construct($entityName, $actionName); + } + + protected function getSelect() { + return $this->selectFields; } protected function doTask($row) {