mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
refactor: only get instanceSettings once from db
This commit is contained in:
1 parent
21612cccf7
commit
88f33be5b6
23 files changed
+54
-51
No files matched your search
@@ -100,7 +100,7 @@ class Change extends Component
|
||||
return redirect()->route('source.all');
|
||||
}
|
||||
$this->applications = $this->github_app->applications;
|
||||
$settings = InstanceSettings::get();
|
||||
$settings = view()->shared('instanceSettings');
|
||||
$this->github_app->makeVisible('client_secret')->makeVisible('webhook_secret');
|
||||
|
||||
$this->name = str($this->github_app->name)->kebab();
|
||||
|
||||
Reference in new issue
Block a user