diff options
| author | Nataliia S. <81954790+natali-rs1985@users.noreply.github.com> | 2025-08-19 11:04:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 11:04:38 +0200 |
| commit | 3bfcf335c5f16a6c814710b01f38342c40f85a8d (patch) | |
| tree | efa1d64693f8851c31b6b1851967fb9e9d6cd2b2 /src/services | |
| parent | 96fb2848e61cc5de677d9e6ad7f5c55ae397a698 (diff) | |
| parent | 69cd4845861c88285ab496339f19103dec7a32b6 (diff) | |
| download | vyos-1x-3bfcf335c5f16a6c814710b01f38342c40f85a8d.tar.gz vyos-1x-3bfcf335c5f16a6c814710b01f38342c40f85a8d.zip | |
Merge branch 'current' into T7678
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/api/rest/routers.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/services/api/rest/routers.py b/src/services/api/rest/routers.py index 329d6e51f..d1383a356 100644 --- a/src/services/api/rest/routers.py +++ b/src/services/api/rest/routers.py @@ -511,12 +511,14 @@ async def configure_op( @router.post('/configure-section') -def configure_section_op( +async def configure_section_op( data: Union[ConfigSectionModel, ConfigSectionListModel, ConfigSectionTreeModel], request: Request, background_tasks: BackgroundTasks, ): - return _configure_op(data, request, background_tasks) + out = await _configure_op(data, request, background_tasks) + + return out @router.post('/retrieve') |
