diff --git a/src/Factories/IdealPostcodesFactory.php b/src/Factories/IdealPostcodesFactory.php index 3e85fe6..7122483 100644 --- a/src/Factories/IdealPostcodesFactory.php +++ b/src/Factories/IdealPostcodesFactory.php @@ -21,6 +21,6 @@ public static function getByEnvironment() throw new Exception('Environment variable '.$envKey.' is not found or is empty.'); } - self::getByAPIKey(); + self::getByAPIKey($apiKey); } } \ No newline at end of file