feat: change scheme mobile
This commit is contained in:
parent
1a53ae3f05
commit
68d164ba61
|
|
@ -38,7 +38,7 @@ class StravaController extends Controller
|
|||
->all();
|
||||
|
||||
$query = http_build_query($params, '', '&', PHP_QUERY_RFC3986);
|
||||
$url = 'dailymeal://strava/callback'.($query ? "?{$query}" : '');
|
||||
$url = 'bowli://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("dailymeal://strava/callback?{$query}");
|
||||
->assertRedirect("bowli://strava/callback?{$query}");
|
||||
});
|
||||
|
||||
it('stores strava tokens from an authorization code', function () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue