Skip to content

Commit

Permalink
Fix #15 - Issue with webhooks POSTing with attached file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin J Dolan authored and Kevin J Dolan committed Oct 31, 2022
1 parent 263e21a commit dcfa170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifiers/webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function postMultiPartFormDataWithFile({address, headers={}, timestamp, to
form.append('matchAverages', matchAverages.toString());
form.append('detectorName', detectorName);
form.append('custom', JSON.stringify(custom));
form.append(isTest, isTest);
form.append('isTest', isTest.toString());

const buffer = fs.readFileSync(recordingRelPath);
form.append('file', buffer, {
Expand Down

0 comments on commit dcfa170

Please sign in to comment.