Add notification object to coconut job

This commit is contained in:
Regalijan 2024-03-24 02:39:45 -04:00
parent b545c6d064
commit 55469939d5
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -46,6 +46,14 @@ export async function onRequestPost(context: RequestContext) {
region: "us-east-1", region: "us-east-1",
service: "s3other", service: "s3other",
}, },
notification: {
params: {
report_id: id,
token: coconutData.token,
},
type: "http",
url: `https://${context.request.headers.get("host")}/api/coconut`,
},
outputs: { outputs: {
mp4: { mp4: {
path: `/${attachment}`, path: `/${attachment}`,