Skip to content

Commit

Permalink
Merge pull request #453 from City-of-Helsinki/UHF-9125
Browse files Browse the repository at this point in the history
UHF-9125: Fixed artemis brokers
  • Loading branch information
tuutti authored Oct 10, 2023
2 parents 6252e22 + 7a59ddb commit 97db5f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ function drupal_get_env(string|array $variables) : mixed {
'PROJECT_NAME',
]);

if ($artemis_brokers = getenv('ARTEMIS_BROKERS') && $artemis_destination) {
$artemis_brokers = getenv('ARTEMIS_BROKERS');

if ($artemis_brokers && $artemis_destination) {
$settings['stomp']['default'] = [
'clientId' => getenv('ARTEMIS_CLIENT_ID') ?: 'artemis',
'login' => getenv('ARTEMIS_LOGIN'),
Expand Down

0 comments on commit 97db5f6

Please sign in to comment.