fix: sentry 4469575117
This commit is contained in:
parent
f4fb519d55
commit
363f525ad1
@ -143,7 +143,11 @@
|
|||||||
]);
|
]);
|
||||||
})->name('source.all');
|
})->name('source.all');
|
||||||
Route::get('/source/github/{github_app_uuid}', function (Request $request) {
|
Route::get('/source/github/{github_app_uuid}', function (Request $request) {
|
||||||
$github_app = GithubApp::where('uuid', request()->github_app_uuid)->first()->makeVisible('client_secret')->makeVisible('webhook_secret');
|
$github_app = GithubApp::where('uuid', request()->github_app_uuid)->first();
|
||||||
|
if (!$github_app) {
|
||||||
|
abort(404);
|
||||||
|
}
|
||||||
|
$github_app->makeVisible('client_secret')->makeVisible('webhook_secret');
|
||||||
$settings = InstanceSettings::get();
|
$settings = InstanceSettings::get();
|
||||||
$name = Str::of(Str::kebab($github_app->name));
|
$name = Str::of(Str::kebab($github_app->name));
|
||||||
if ($settings->public_ipv4) {
|
if ($settings->public_ipv4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user