Data Request API helper #10

Merged
Oliver merged 94 commits from feat/data-requests into main 2025-11-22 02:51:15 +00:00
Showing only changes of commit 6e5422e08b - Show all commits

View file

@ -19,9 +19,7 @@ async function uploadFile(uploadsURL, localPath, remoteName = undefined) {
const stream = createReadStream(localPath);
return axios.post(
uploadsURL,
{
attachment: stream,
},
stream,
{
headers: {
Authorization: `Bearer ${TOKEN}`,