Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TypedDatabase with non-default connection for Technicolor keys #447

Merged
merged 3 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/config/services.neon
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ services:
- MichalSpacekCz\Training\Trainings\Trainings
- MichalSpacekCz\Training\Venues\TrainingVenues
- MichalSpacekCz\Twitter\TwitterCards
- MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%)
- MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, @typedDatabase.upcKeys, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%)
- MichalSpacekCz\UpcKeys\Ubee(@typedDatabase.upcKeys)
- MichalSpacekCz\UpcKeys\UpcKeys(routers: [@MichalSpacekCz\UpcKeys\Technicolor, @MichalSpacekCz\UpcKeys\Ubee])
- MichalSpacekCz\User\Manager(passwordEncryption: @passwordEncryption, permanentLoginInterval: %permanentLogin.interval%)
Expand Down
1 change: 0 additions & 1 deletion app/public/www.michalspacek.cz/i/css/upc/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ h3 { color: #777; }
#result form { text-align: center; }
#frm-ssid-ssid { width: 100px; }
#result table { margin: 2em auto; }
#result tbody, #result tfoot { font-size: 120%; }
#result td {
width: 9em;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion app/src/Http/Client/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private function request(HttpClientRequest $request, $context): HttpClientRespon
if ($result === false) {
throw new HttpClientRequestException($request->getUrl());
}
if (is_array($options['ssl'])) {
if (isset($options['ssl']) && is_array($options['ssl'])) {
$certificate = isset($options['ssl']['peer_certificate']) && $options['ssl']['peer_certificate'] instanceof OpenSSLCertificate
? $options['ssl']['peer_certificate']
: null;
Expand Down
Loading