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",
|
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}`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user