diff options
Diffstat (limited to 'src/services')
-rwxr-xr-x | src/services/vyos-http-api-server | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server index 31430170a..66e80ced5 100755 --- a/src/services/vyos-http-api-server +++ b/src/services/vyos-http-api-server @@ -494,13 +494,13 @@ def _configure_op(data: Union[ConfigureModel, ConfigureListModel, return success(msg) @app.post('/configure') -async def configure_op(data: Union[ConfigureModel, +def configure_op(data: Union[ConfigureModel, ConfigureListModel], request: Request): return _configure_op(data, request) @app.post('/configure-section') -async def configure_section_op(data: Union[ConfigSectionModel, +def configure_section_op(data: Union[ConfigSectionModel, ConfigSectionListModel], request: Request): return _configure_op(data, request) |