From aa26316ab6ea29ca5993f914837cd52fde671823 Mon Sep 17 00:00:00 2001 From: Tom Stovall Date: Thu, 21 Nov 2024 15:42:12 -0500 Subject: [PATCH] correct host value --- src/SecretsApi/SecretsApi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SecretsApi/SecretsApi.php b/src/SecretsApi/SecretsApi.php index 6dac6a6..15c330c 100644 --- a/src/SecretsApi/SecretsApi.php +++ b/src/SecretsApi/SecretsApi.php @@ -26,9 +26,9 @@ private function getBaseURI() { $config = $this->request()->getConfig(); - $protocol = $config->get('papi_protocol') ?? $config->get('protocol'); - $port = $config->get('papi_port') ?? $config->get('port'); - $host = $config->get('papi_host'); + $protocol = $config->get('protocol') ?? $config->get('protocol'); + $port = $config->get('port') ?? $config->get('port'); + $host = $config->get('host'); if (!$host && strpos($config->get('host'), 'hermes.sandbox-') !== false) { $host = str_replace('hermes', 'pantheonapi', $config->get('host')); }