From 567a353b1c9fc6caf1a8f9835622ba490f15c3e0 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 12 Dec 2023 04:18:54 +0000 Subject: [PATCH] FIX_NOTIFICATION_ROUTE_CHANGE_CLI_TO_GET_METHOD --- app/Config/Routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index e9db508c..dcca67b8 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -132,7 +132,7 @@ $routes->match(['get','post'],'/itemwise_report','Invoice::itemwise_report'); # Notifications Routes // $routes->get('controller/SubExpdetail/(:num)', 'YourController::SubExpdetail/$1'); -$routes->cli("getExpCustomerDetail/(:num)",'Notifications::getExpCustomerDetail/$1'); +$routes->get("getExpCustomerDetail/(:num)",'Notifications::getExpCustomerDetail/$1'); $routes->get('send_whatsapp_message/', 'Notifications::send_whatsapp_message'); $routes->post('whatsapp_custom_notifications/', 'Notifications::whatsapp_custom_notifications'); $routes->match(['post', 'get'], 'mail_custom_notifications', 'Notifications::mail_custom_notifications');