From 2bc8f76225c5a1d56e5f8a037dfc19a84fc8c462 Mon Sep 17 00:00:00 2001 From: Juan24 Date: Tue, 5 May 2026 13:06:41 -0300 Subject: [PATCH] Rename WhatNow API routes to preparemessages Change API endpoints from /org/{code}/whatnow and /whatnow/{id} to /org/{code}/preparemessages and /preparemessages/{id} to better reflect their purpose; controller actions remain the same. Also remove an extraneous blank line in WhatNowRepository.php. --- routes/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/api.php b/routes/api.php index b0212bd..e8503e1 100644 --- a/routes/api.php +++ b/routes/api.php @@ -35,8 +35,8 @@ ], function () { // Endpoints requiring API key authentication Route::get('org/{code}', 'OrganisationController@getById'); - Route::get('org/{code}/whatnow', 'WhatNowController@getFeed'); - Route::get('whatnow/{id}', 'WhatNowController@getPublishedById'); + Route::get('org/{code}/preparemessages', 'WhatNowController@getFeed'); + Route::get('preparemessages/{id}', 'WhatNowController@getPublishedById'); }); Route::group([