File tree Expand file tree Collapse file tree
src/fastapi_cloud_cli/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,8 +263,8 @@ def progress_callback(bytes_read: int) -> None:
263263 logger .debug ("Upload notification sent successfully" )
264264
265265
266- def _get_app (client : APIClient , app_slug : str ) -> AppResponse | None :
267- response = client .get (f"/apps/{ app_slug } " )
266+ def _get_app (client : APIClient , app_id : str ) -> AppResponse | None :
267+ response = client .get (f"/apps/{ app_id } " )
268268
269269 if response .status_code == 404 :
270270 return None
@@ -793,7 +793,7 @@ def deploy(
793793 with toolkit .progress ("Checking app..." , transient = True ) as progress :
794794 with client .handle_http_errors (progress ):
795795 logger .debug ("Checking app with ID: %s" , target_app_id )
796- app = _get_app (client = client , app_slug = target_app_id )
796+ app = _get_app (client = client , app_id = target_app_id )
797797
798798 if not app :
799799 logger .debug ("App not found in API" )
You can’t perform that action at this time.
0 commit comments