Second issue is with artifact download, I'm not a go expert, but it seems to me that current code is only writing first 5 bytes, so I used io.Copy to copy the whole stream to the output.
I also added some notes in the docs which I had trouble with.
I thought I fixed the issue with teamId vs teamID I introduced that problem because of trying to fix linting issue and the Go linter prefers ID over Id 🤷♀️
Hi,
Thanks for starting the project, I was playing around with the server and discovered couple of bugs along the way and this PR should fix them.
First issue is with teamId query param it should be teamId instead of teamID, here is the reference from the client https://github.com/vercel/turborepo/blob/main/cli/internal/client/client.go#L76
Second issue is with artifact download, I'm not a go expert, but it seems to me that current code is only writing first 5 bytes, so I used io.Copy to copy the whole stream to the output.
I also added some notes in the docs which I had trouble with.
Let me know what you think.
Cheeers!