From 1904f3ef2fb59ac190740ebf0ffa68e654d2c247 Mon Sep 17 00:00:00 2001 From: DomySh Date: Thu, 30 Jun 2022 17:52:29 +0200 Subject: [PATCH] Change port start developping --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 445c30f..d654a0f 100644 --- a/backend/app.py +++ b/backend/app.py @@ -197,7 +197,7 @@ class ChangePortForm(BaseModel): internalPort: Union[int, None] @app.post('/api/service/{service_id}/change-ports') -async def get_regen_port(service_id: str, change_port:ChangePortForm, auth: bool = Depends(is_loggined)): +async def change_port(service_id: str, change_port:ChangePortForm, auth: bool = Depends(is_loggined)): if change_port.port is None and change_port.internalPort is None: return {'status': 'Invalid Request!'} try: