mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 22:24:16 +01:00
fix(server): limit native progress work hints to scope identifiers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
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 }));
|
||||
}
|
||||
Reference in new issue
Block a user