Skip to content

Commit c88fec2

Browse files
authored
Merge pull request #148 from acohin/bugfix/forcessl-hostname-expects-string
SetForceSSL Hostname parameter expects to be string not int
2 parents d268fb4 + 84e10b0 commit c88fec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/API/Base/PullZone/SetForceSSL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getHeaders(): array
3434
public function getBody(): array
3535
{
3636
return [
37-
new AbstractParameter(name: 'Hostname', type: Type::INT_TYPE, required: true),
37+
new AbstractParameter(name: 'Hostname', type: Type::STRING_TYPE, required: true),
3838
new AbstractParameter(name: 'ForceSSL', type: Type::BOOLEAN_TYPE, required: true),
3939
];
4040
}

0 commit comments

Comments
 (0)