Fixing create_key_and_certificate boolean parameter (#1572)
This commit is contained in:
parent
783504c897
commit
ba3c9db8a7
2 changed files with 18 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class IoTResponse(BaseResponse):
|
|||
return json.dumps(dict())
|
||||
|
||||
def create_keys_and_certificate(self):
|
||||
set_as_active = self._get_param("setAsActive")
|
||||
set_as_active = self._get_bool_param("setAsActive")
|
||||
cert, key_pair = self.iot_backend.create_keys_and_certificate(
|
||||
set_as_active=set_as_active,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue