From 587c388f9681226295d835f3c39bcab63c0ef33d Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Tue, 5 May 2026 09:23:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Rename=20`app=5Fslug`=20pa?= =?UTF-8?q?rameter=20of=20`=5Fget=5Fapp`=20to=20`app=5Fid`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fastapi_cloud_cli/commands/deploy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fastapi_cloud_cli/commands/deploy.py b/src/fastapi_cloud_cli/commands/deploy.py index 87f1574..f903a90 100644 --- a/src/fastapi_cloud_cli/commands/deploy.py +++ b/src/fastapi_cloud_cli/commands/deploy.py @@ -263,8 +263,8 @@ def progress_callback(bytes_read: int) -> None: logger.debug("Upload notification sent successfully") -def _get_app(client: APIClient, app_slug: str) -> AppResponse | None: - response = client.get(f"/apps/{app_slug}") +def _get_app(client: APIClient, app_id: str) -> AppResponse | None: + response = client.get(f"/apps/{app_id}") if response.status_code == 404: return None @@ -793,7 +793,7 @@ def deploy( with toolkit.progress("Checking app...", transient=True) as progress: with client.handle_http_errors(progress): logger.debug("Checking app with ID: %s", target_app_id) - app = _get_app(client=client, app_slug=target_app_id) + app = _get_app(client=client, app_id=target_app_id) if not app: logger.debug("App not found in API")