diff --git a/lib/Service/AppAPIService.php b/lib/Service/AppAPIService.php index e6a5cbb8..76e93e73 100644 --- a/lib/Service/AppAPIService.php +++ b/lib/Service/AppAPIService.php @@ -625,7 +625,7 @@ public function requestToExApp( $exApp->getPort()) . $route; if (is_array($options['headers'])) { - $options['headers'] = [...$options['headers'], $this->buildAppAPIAuthHeaders($request, $userId, $exApp)]; + $options['headers'] = [...$options['headers'], $this->buildAppAPIAuthHeaders($request, $userId, $exApp)]; } else { $options['headers'] = $this->buildAppAPIAuthHeaders($request, $userId, $exApp); }