Fix testing package

This commit is contained in:
nicktrn
2023-12-07 08:18:48 +00:00
parent 9ea24f8815
commit 61b7a7aa83
+2
View File
@@ -92,7 +92,9 @@ const buildRequestBody = (
batched: boolean
): RunJobBody => ({
event,
eventIds: [event.id],
job,
context: JSON.stringify(batched ? [event.context ?? {}] : event.context ?? {}),
payload: JSON.stringify(batched ? [event.payload] : event.payload),
batched,
run: {