From: soufiane Date: Tue, 4 Mar 2025 10:44:00 +0000 (+0100) Subject: wait #7341 @0:01 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3e0b1d4c76e5ef41ee495d3c5fc354aa8af310fc;p=physioassist-wordpress.git wait #7341 @0:01 --- diff --git a/wp-content/themes/physioassist/resources/functions.php b/wp-content/themes/physioassist/resources/functions.php index 64ff9822..cf7b2dc9 100644 --- a/wp-content/themes/physioassist/resources/functions.php +++ b/wp-content/themes/physioassist/resources/functions.php @@ -334,7 +334,7 @@ add_action( 'rest_api_init', function () { } ); add_action( 'rest_api_init', function () { - register_rest_route( 'cube/v1', '/subscription/(?P\d+)', array( + register_rest_route( 'cube/v1', '/subscriptions/(?P\d+)', array( 'methods' => 'GET', 'callback' => 'listSubscriptionByUserId', 'permission_callback' => 'permission_check',