summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php')
-rw-r--r--plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
index 0070f294..e8f16b6e 100644
--- a/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
+++ b/plugins/jetpack/vendor/automattic/jetpack-connection/src/class-client.php
@@ -70,7 +70,7 @@ class Client {
$token_key = sprintf(
'%s:%d:%d',
$token_key,
- Constants::get_constant( 'JETPACK__API_VERSION' ),
+ Utils::get_jetpack_api_version(),
$token->external_user_id
);