Skip to content

Commit

Permalink
[CSR-1336] fix: use v1/runs endpoint (#6)
Browse files Browse the repository at this point in the history
* fix: use the latest @currents/cmd

* fix: change the url to v1/runs
  • Loading branch information
vCaisim authored Aug 1, 2024
1 parent 483c1e2 commit b277470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cmd/src/api/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function createRun(params: RunParams) {
const data = await compressData(JSON.stringify(params));

return makeRequest<RunResponse, Buffer>({
url: `v2/runs`,
url: `v1/runs`,
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down

0 comments on commit b277470

Please sign in to comment.