fix: INTERNAL_PUBLISH 1->2 (publish=2 is Internal Users Only in Autotask)

This commit is contained in:
lorentz 2026-03-23 11:48:33 -04:00
parent ba493b708a
commit 7872171035

View file

@ -32,8 +32,8 @@ import {
// noteType values that are system/automated (workflow rules, monitoring, auto-close, etc.)
const SYSTEM_NOTE_TYPES = new Set([13, 91, 93, 94, 99, 101]);
// publish=1 means Internal Users Only in Autotask
const INTERNAL_PUBLISH = 1;
// publish=2 means Internal Users Only in Autotask
const INTERNAL_PUBLISH = 2;
const URL_REGEX = /https?:\/\/[^\s<>"'\[\]()]+/g;