Skip to content

Commit 238a086

Browse files
fix(slack): clarify shared pagination output
1 parent d029761 commit 238a086

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

apps/sim/blocks/blocks/slack.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ describe('Slack block release', () => {
192192

193193
it('maps bounded cursor pagination for list channels', () => {
194194
const values = { operation: 'list_channels' }
195+
expect(SlackV2Block.outputs.hasMore.description).toBe(
196+
'Whether more thread messages or provider pages remain beyond the fetched window'
197+
)
195198
expect(isSlackV2SubBlockVisible('channelMaxPages', values)).toBe(true)
196199
expect(isSlackV2SubBlockVisible('paginationCursor', values)).toBe(true)
197200
expect(

apps/sim/blocks/blocks/slack.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2633,7 +2633,8 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
26332633
},
26342634
hasMore: {
26352635
type: 'boolean',
2636-
description: 'Whether more provider pages remain beyond the fetched window',
2636+
description:
2637+
'Whether more thread messages or provider pages remain beyond the fetched window',
26372638
},
26382639

26392640
// slack_get_channel_history / slack_get_thread_replies pagination outputs

0 commit comments

Comments
 (0)