I hereby claim:
- I am babelop on github.
- I am binarybabel (https://keybase.io/binarybabel) on keybase.
- I have a public key whose fingerprint is D942 5C80 5070 A3E4 CCC4 86AF A90F C51C D52D D5DB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/root/scripts/plex-update/
plex-update.sh
and make it executablenano plex-update.sh
and set the PLEX_TOKEN
variable./plex-update.sh
{ | |
"issue": [ | |
{ | |
"id": "TEST-1", | |
"entityId": "85-15", | |
"jiraId": null, | |
"field": [ | |
{ | |
"name": "projectShortName", | |
"value": "TEST" |
'use strict'; | |
const url = require('url'); | |
const https = require('https'); | |
exports.handler = (event, context, callback) => { | |
let webhook_url = event.Records[0].customData; | |
if (!webhook_url) { | |
let error = new Error("Web-hook URL not provided as custom data."); | |
callback(error) |