summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server4
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)