mirror of
https://github.com/rajnandan1/kener.git
synced 2026-04-25 12:28:18 -05:00
tags to array
This commit is contained in:
@@ -44,7 +44,10 @@ async function manualIncident(monitor, githubConfig){
|
||||
if (end_time !== null) {
|
||||
newIncident.end_time = end_time;
|
||||
if(end_time <= GetNowTimestampUTC() && incident.state === "open"){
|
||||
await CloseIssue(githubConfig, incidentNumber)
|
||||
//close the issue after 30 secs
|
||||
setTimeout(async () => {
|
||||
await CloseIssue(githubConfig, incidentNumber)
|
||||
}, 30000)
|
||||
}
|
||||
} else {
|
||||
newIncident.end_time = GetNowTimestampUTC();
|
||||
|
||||
Reference in New Issue
Block a user