fix incorrect http method

This commit is contained in:
Iain Sproat
2025-03-13 21:08:59 +00:00
parent 55ae59245c
commit 28ee1ed687
@@ -18,7 +18,7 @@ export async function downloadFile({
await stream(
`${process.env.SPECKLE_SERVER_URL}/api/stream/${streamId}/blob/${fileId}`,
{
method: 'POST',
method: 'GET',
opaque: fs.createWriteStream(destination),
headers: {
Authorization: `Bearer ${token}`