From 894455df785052e87061ddf736a771ef36c35ee6 Mon Sep 17 00:00:00 2001 From: Joel Butcher Date: Tue, 2 Apr 2024 16:22:36 +0100 Subject: [PATCH] fix route not found --- src/Http/Responses/OAuthProviderLinkFailedResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Responses/OAuthProviderLinkFailedResponse.php b/src/Http/Responses/OAuthProviderLinkFailedResponse.php index b2469276..beafc308 100644 --- a/src/Http/Responses/OAuthProviderLinkFailedResponse.php +++ b/src/Http/Responses/OAuthProviderLinkFailedResponse.php @@ -12,7 +12,7 @@ class OAuthProviderLinkFailedResponse implements OAuthProviderLinkFailedResponse public function toResponse($request): RedirectResponse { if (class_exists(Jetstream::class)) { - return redirect()->to('profile.show'); + return redirect()->route('profile.show'); } return Socialstream::redirects('provider-link-failed')