Skip to content

Commit

Permalink
rename endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lrosemberg committed Dec 17, 2024
1 parent e88002b commit c702c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roboflow/core/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ def _upload_zip(
):
# This endpoint returns a signed URL to upload the model
res = requests.get(
f"{API_URL}/{self.url}/uploadModel?api_key={self.__api_key}&modelType={model_type}&modelName={model_name}&projectIds={','.join(project_ids)}&nocache=true"
f"{API_URL}/{self.url}/models/getDeployUrl?api_key={self.__api_key}&modelType={model_type}&modelName={model_name}&projectIds={','.join(project_ids)}&nocache=true"
)
try:
res.raise_for_status()
Expand Down

0 comments on commit c702c5c

Please sign in to comment.