feat: change scheme
This commit is contained in:
parent
68d164ba61
commit
9d67a2c335
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue