mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
qa: retain required Slack history timestamps
This commit is contained in:
@@ -71,7 +71,7 @@ export async function listSlackMessages(params: {
|
||||
client: WebClient;
|
||||
oldestTs: string;
|
||||
}) {
|
||||
const messages: SlackMessage[] = [];
|
||||
const messages: NonNullable<ReturnType<typeof slackHistorySchema.parse>["messages"]> = [];
|
||||
let cursor: string | undefined;
|
||||
for (let page = 0; page < SLACK_QA_CHANNEL_HISTORY_MAX_PAGES; page += 1) {
|
||||
const history = slackHistorySchema.parse(
|
||||
|
||||
Reference in New Issue
Block a user