···33import { Types } from "npm:komodo_client";
44import { isAlertType, resolveableAlertIdentifier } from "./alertUtils.ts";
5566-const alertFriendly = (alert: Types.Alert): string => `Alert ${alert._id} for ${alert.target.id}-${alert.data.type}`;
66+const alertFriendly = (alert: Types.Alert): string => `Alert ${alert._id?.$oid} for ${alert.target.id}-${alert.data.type}`;
7788export const createNotifierPipe = (opts: CommonOptions) => {
99···3333 // if we had a waiting unresolved then the assumption is we *do not* want to notify of the resolved status
3434 // since it was transient
3535 if(resolverTimeouts.has(id)) {
3636- console.debug(`Not pushing ${alertFriendly(alert)} because it is RESOVLED and had an UNRESOLVED notification that was wait waiting to be pushed (and has now been canceled).`)
3636+ console.debug(`Not pushing ${alertFriendly(alert)} because it is RESOVLED and had an UNRESOLVED notification that was waiting to be pushed (and has now been canceled).`)
3737 clearTimeout(resolverTimeouts.get(id));
3838 resolverTimeouts.delete(id);
3939 return;