mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix not returning the cached token
This commit is contained in:
parent
b42e9436ae
commit
8411ef2106
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class SdkClientToken {
|
|||
*/
|
||||
public function sdk_client_token(): string {
|
||||
if ( $this->cache->has( self::CACHE_KEY ) ) {
|
||||
$this->cache->get( self::CACHE_KEY );
|
||||
return $this->cache->get( self::CACHE_KEY );
|
||||
}
|
||||
|
||||
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue