Rest Api module key lowered in settings

This commit is contained in:
iLLiCiTiT 2020-12-14 18:35:50 +01:00
parent 3ea1c32ae1
commit 816646a207
3 changed files with 3 additions and 3 deletions

View file

@ -97,7 +97,7 @@ class RestApiModule(PypeModule, ITrayService):
`_handle_callback_result` defined in handler.
"""
label = "Rest API Service"
name = "Rest Api"
name = "rest_api"
def initialize(self, modules_settings):
rest_api_settings = modules_settings[self.name]

View file

@ -104,7 +104,7 @@
}
}
},
"Rest Api": {
"rest_api": {
"default_port": 8021,
"exclude_ports": []
},

View file

@ -40,7 +40,7 @@
},
{
"type": "dict",
"key": "Rest Api",
"key": "rest_api",
"label": "Rest Api",
"collapsable": true,
"children": [{