Skip to content

Commit

Permalink
fixing upload for Robin (#2303)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeduartea authored Feb 11, 2025
1 parent dda0135 commit 2f15291
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class ApiClient(
}

val url = if (projectId != null) {
"$baseUrl/v2/project/$projectId/runMaestroTest"
"$baseUrl/runMaestroTest"
} else {
"$baseUrl/v2/upload"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class CloudCommand : Callable<Int> {
// Upload
val apiUrl = apiUrl ?: run {
if (projectId != null) {
"https://api.copilot.mobile.dev"
"https://api.copilot.mobile.dev/v2/project/$projectId"
} else {
throw CliError("You need to specify a Robin project with --projectId")
}
Expand Down

0 comments on commit 2f15291

Please sign in to comment.