From 932813fe7844d88b78d7a5c9a7296fd049caa3f3 Mon Sep 17 00:00:00 2001 From: arommelaere <1508444+arommelaere@users.noreply.github.com> Date: Sun, 18 Feb 2024 02:30:21 +0800 Subject: [PATCH] Fix addHostname "Unable to decode the JSON request body. Please check your input and try again." on Free Tier --- src/Endpoints/CustomHostnames.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Endpoints/CustomHostnames.php b/src/Endpoints/CustomHostnames.php index 7a0d2de3..9a26d041 100644 --- a/src/Endpoints/CustomHostnames.php +++ b/src/Endpoints/CustomHostnames.php @@ -42,7 +42,7 @@ public function addHostname( string $hostname, string $sslMethod = 'http', string $sslType = 'dv', - array $sslSettings = [], + array|null $sslSettings = null, string $customOriginServer = '', bool $wildcard = false, string $bundleMethod = '',