From 906725f5c516635ced7d5d9df1813052bd1be2e0 Mon Sep 17 00:00:00 2001 From: GotPPay Date: Wed, 15 Aug 2018 22:19:05 +0200 Subject: [PATCH] comment function used for testing --- .../includes/api/class-wiaas-rest-delivery-process-api.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php b/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php index c5773dc..17f75d3 100644 --- a/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php +++ b/backend/app/plugins/wiaas/includes/api/class-wiaas-rest-delivery-process-api.php @@ -37,6 +37,10 @@ class Wiass_REST_Delivery_Process_API { 'callback' => array(__CLASS__, 'get_customer_acceptance'), ) ); + /* + + Used for some fast test and check + register_rest_route( self::$namespace, 'gravity-form-entry/(?P\d+)', array( 'methods' => 'GET', 'callback' => array(__CLASS__, 'get_form_entry'), @@ -48,6 +52,8 @@ class Wiass_REST_Delivery_Process_API { 'callback' => array(__CLASS__, 'update_entry'), ) ); + */ + register_rest_route( self::$namespace, 'customer-acceptance/(?P\d+)', array( 'methods' => 'POST',