From 3e0b1d4c76e5ef41ee495d3c5fc354aa8af310fc Mon Sep 17 00:00:00 2001 From: soufiane Date: Tue, 4 Mar 2025 11:44:00 +0100 Subject: [PATCH] wait #7341 @0:01 --- wp-content/themes/physioassist/resources/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5