fix: use work items as dashboard outbound SSOT
This commit is contained in:
@@ -313,13 +313,13 @@ describe('web dashboard server handler', () => {
|
||||
getPairedTurnAttempts: () => [],
|
||||
getPairedTurnOutputs: () => [],
|
||||
getRecentPairedTurnOutputsForChat: () => [],
|
||||
getRecentDeliveredWorkItemsForChat: () => [],
|
||||
getRecentChatMessages: (_jid, limit) => {
|
||||
requestedMessageLimits.push(limit ?? 20);
|
||||
return messages;
|
||||
},
|
||||
startBackgroundCacheRefresh: false,
|
||||
});
|
||||
|
||||
const response = await handler(
|
||||
new Request(
|
||||
`http://localhost/api/rooms/${encodeURIComponent('dc:ops')}/timeline`,
|
||||
|
||||
Reference in New Issue
Block a user