From 1c93e7bd4185de775a38b442871df202274d2391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 14 Jun 2024 19:13:01 +0200 Subject: [PATCH] Refactor GoCardless OAuth connect route to use token instead of company key --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index f2bc963fa468..3e4c95620748 100644 --- a/routes/web.php +++ b/routes/web.php @@ -54,4 +54,4 @@ Route::get('.well-known/apple-developer-merchantid-domain-association', [ApplePa Route::get('gocardless/oauth/connect/confirm', [GoCardlessOAuthController::class, 'confirm'])->name('gocardless.oauth.confirm'); Route::post('gocardless/oauth/connect/webhook', GoCardlessOAuthWebhookController::class)->name('gocardless.oauth.webhook'); -Route::get('gocardless/oauth/connect/{company_key}', [GoCardlessOAuthController::class, 'connect']); +Route::get('gocardless/oauth/connect/{token}', [GoCardlessOAuthController::class, 'connect']);