fix(server): limit native progress work hints to scope identifiers

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-25 12:36:41 -05:00
1 parent 34df8b0d01
commit 3447973f6f
2 files changed
+26 -1

No files matched your search

@@ -2,5 +2,5 @@ import { DELIVERY_QUEUES, notifyDeliveryWork } from "./delivery-work-notificatio
import type { ChatRunProjectionScope } from "./chat-run-publication-policy.js";
export function notifyChatNativeProgress(tx: object, scope: ChatRunProjectionScope) {
return notifyDeliveryWork(tx, DELIVERY_QUEUES.chatNativeProgress, JSON.stringify(scope));
return notifyDeliveryWork(tx, DELIVERY_QUEUES.chatNativeProgress, JSON.stringify({ companyId: scope.companyId, issueId: scope.issueId }));
}