newStaffLDB-API #48
@ -12,7 +12,6 @@ const issueLabels = {
|
||||
|
||||
async function processor(data) {
|
||||
log.out("issueService.processor: Issue received", "info");
|
||||
console.log(data); // TEMPORARY MEASURE
|
||||
let out = {};
|
||||
out.labels = [issueLabels[data?.label] || 0, issueLabels["web-user"]];
|
||||
out.title = data?.subject.replace(/<[^>]+>|[\*\$]/g, "");
|
||||
|
Loading…
Reference in New Issue
Block a user