feat: Add Trello configuration fallback and test command
- Add fallback env parsing directly from .env file in config/trello.php - Fixes issue where cached config prevents env() from reading .env values - Add artisan trello:test command to diagnose Trello configuration - Test command checks API credentials, board/list IDs, and connectivity - Test successfully creates and moves a test Trello card
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ use App\Http\Controllers\CourierWebhookController;
|
||||
Route::post('/webhook', [OrderController::class, 'yocoWebhook'])->name('yoco-webhook');
|
||||
|
||||
// Trello webhook
|
||||
Route::post('/webhooks/trello', [TrelloWebhookController::class, 'handle'])->name('trello-webhook');
|
||||
Route::match(['post', 'head', 'options'], '/webhooks/trello', [TrelloWebhookController::class, 'handle'])->name('trello-webhook');
|
||||
|
||||
// Courier webhook
|
||||
Route::post('/webhooks/courier', [CourierWebhookController::class, 'handle'])->name('courier-webhook');
|
||||
|
||||
Reference in New Issue
Block a user