@@ -6,7 +6,7 @@ async function processor(data) {
|
||||
log.out('issueService.processor: Issue received', 'info');
|
||||
console.log(data); // TEMPORARY MEASURE
|
||||
let out = {};
|
||||
out.labels = data?.labels;
|
||||
out.labels = data?.labels || [];
|
||||
out.title = data?.subject.replace(/<[^>]+>|[\*\$]/g, '');
|
||||
out.body = data?.msg.replace(/<[^>]+>|[\*\$]/g, '');
|
||||
return await sendToGitea(out);
|
||||
|
||||
Reference in New Issue
Block a user