better boarding flow
This commit is contained in:
@@ -39,7 +39,6 @@ class Change extends Component
|
||||
{
|
||||
if (is_cloud() && !isDev()) {
|
||||
$this->webhook_endpoint = config('app.url');
|
||||
ray($this->webhook_endpoint);
|
||||
} else {
|
||||
$this->webhook_endpoint = $this->ipv4;
|
||||
$this->is_system_wide = $this->github_app->is_system_wide;
|
||||
|
||||
@@ -42,6 +42,9 @@ class Create extends Component
|
||||
'is_system_wide' => $this->is_system_wide,
|
||||
'team_id' => currentTeam()->id,
|
||||
]);
|
||||
if (session('from')) {
|
||||
session(['from' => session('from') + ['source_id' => $github_app->id]]);
|
||||
}
|
||||
redirect()->route('source.github.show', ['github_app_uuid' => $github_app->uuid]);
|
||||
} catch (\Exception $e) {
|
||||
return general_error_handler(err: $e, that: $this);
|
||||
|
||||
Reference in New Issue
Block a user