Add notification object to coconut job
This commit is contained in:
parent
b545c6d064
commit
55469939d5
@ -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}`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user