Skip to content

Commit

Permalink
useJob: Add trailing slash to query URI
Browse files Browse the repository at this point in the history
  • Loading branch information
zmc committed May 16, 2023
1 parent 0099cc7 commit 6f20b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/paddles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function useRun(name: string) {
}

function useJob(name: string, job_id: number) {
const url = getURL(`/runs/${name}/jobs/${job_id}`);
const url = getURL(`/runs/${name}/jobs/${job_id}/`);
const query = useQuery(["job", { url }], {});
return query;
}
Expand Down

0 comments on commit 6f20b22

Please sign in to comment.