Skip to content

Commit

Permalink
🚑 fix autoresolve (openstatusHQ#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay authored Apr 4, 2024
1 parent 58de334 commit 5671c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/checker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ checkerRoute.post("/updateStatus", async (c) => {
});

if (incident) {
const redisKey = `${monitorId}-${cronTimestamp}-resolved`;
const redisKey = `${monitorId}-${incident.id}-resolved`;
// // We add the new region to the set
await redis.sadd(redisKey, region);
// // let's add an expire to the set
Expand Down

0 comments on commit 5671c4b

Please sign in to comment.