Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add notification object to coconut job
  • Loading branch information
regalijan committed Mar 24, 2024
1 parent b545c6d commit 5546993
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions functions/api/reports/complete.ts
Expand Up @@ -46,6 +46,14 @@ export async function onRequestPost(context: RequestContext) {
region: "us-east-1",
service: "s3other",
},
notification: {
params: {
report_id: id,
token: coconutData.token,
},
type: "http",
url: `https://${context.request.headers.get("host")}/api/coconut`,
},
outputs: {
mp4: {
path: `/${attachment}`,
Expand Down

0 comments on commit 5546993

Please sign in to comment.