From 9d67a2c335b0c0c5b3996ed50a613362b0ebe2dc Mon Sep 17 00:00:00 2001 From: Leon Morival Date: Thu, 21 May 2026 10:49:15 +0200 Subject: [PATCH] feat: change scheme --- app/Http/Controllers/StravaController.php | 2 +- tests/Feature/StravaConnectionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/StravaController.php b/app/Http/Controllers/StravaController.php index 2b5ea87..18a406c 100644 --- a/app/Http/Controllers/StravaController.php +++ b/app/Http/Controllers/StravaController.php @@ -38,7 +38,7 @@ class StravaController extends Controller ->all(); $query = http_build_query($params, '', '&', PHP_QUERY_RFC3986); - $url = 'bowli://strava/callback'.($query ? "?{$query}" : ''); + $url = 'bowly://strava/callback'.($query ? "?{$query}" : ''); return redirect()->away($url); } diff --git a/tests/Feature/StravaConnectionTest.php b/tests/Feature/StravaConnectionTest.php index 96f84d2..9b9a377 100644 --- a/tests/Feature/StravaConnectionTest.php +++ b/tests/Feature/StravaConnectionTest.php @@ -46,7 +46,7 @@ it('redirects the strava web callback to the mobile app', function () { $this ->get("/strava/callback?{$query}") - ->assertRedirect("bowli://strava/callback?{$query}"); + ->assertRedirect("bowly://strava/callback?{$query}"); }); it('stores strava tokens from an authorization code', function () {