Skip to content

Commit a75d987

Browse files
waleedlatif1claude
andcommitted
fix(confluence): remove spaceId requirement for create_space and fix list_tasks pagination
- Remove create_space from spaceId condition array since creating a space doesn't require a space ID input - Remove list_tasks from generic supportsCursor array so it uses its dedicated handler that correctly passes assignedTo and status filters during pagination Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 08b0f44 commit a75d987

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

apps/docs/components/ui/icon-mapping.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ import {
3838
EyeIcon,
3939
FirecrawlIcon,
4040
FirefliesIcon,
41-
GithubIcon,
4241
GitLabIcon,
42+
GithubIcon,
4343
GmailIcon,
4444
GongIcon,
4545
GoogleBooksIcon,
@@ -72,9 +72,9 @@ import {
7272
LinearIcon,
7373
LinkedInIcon,
7474
LinkupIcon,
75+
MailServerIcon,
7576
MailchimpIcon,
7677
MailgunIcon,
77-
MailServerIcon,
7878
Mem0Icon,
7979
MicrosoftDataverseIcon,
8080
MicrosoftExcelIcon,
@@ -107,6 +107,8 @@ import {
107107
ResendIcon,
108108
RevenueCatIcon,
109109
S3Icon,
110+
SQSIcon,
111+
STTIcon,
110112
SalesforceIcon,
111113
SearchIcon,
112114
SendgridIcon,
@@ -118,19 +120,17 @@ import {
118120
SimilarwebIcon,
119121
SlackIcon,
120122
SmtpIcon,
121-
SQSIcon,
122123
SshIcon,
123-
STTIcon,
124124
StagehandIcon,
125125
StripeIcon,
126126
SupabaseIcon,
127+
TTSIcon,
127128
TavilyIcon,
128129
TelegramIcon,
129130
TextractIcon,
130131
TinybirdIcon,
131132
TranslateIcon,
132133
TrelloIcon,
133-
TTSIcon,
134134
TwilioIcon,
135135
TypeformIcon,
136136
UpstashIcon,
@@ -141,11 +141,11 @@ import {
141141
WhatsAppIcon,
142142
WikipediaIcon,
143143
WordpressIcon,
144-
xIcon,
145144
YouTubeIcon,
146145
ZendeskIcon,
147146
ZepIcon,
148147
ZoomIcon,
148+
xIcon,
149149
} from '@/components/icons'
150150

151151
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

apps/docs/content/docs/en/tools/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@
146146
"zep",
147147
"zoom"
148148
]
149-
}
149+
}

apps/sim/blocks/blocks/confluence.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,6 @@ export const ConfluenceV2Block: BlockConfig<ConfluenceResponse> = {
654654
value: [
655655
'create',
656656
'get_space',
657-
'create_space',
658657
'update_space',
659658
'delete_space',
660659
'list_pages_in_space',
@@ -1293,8 +1292,8 @@ export const ConfluenceV2Block: BlockConfig<ConfluenceResponse> = {
12931292
}
12941293

12951294
// Operations that support generic cursor pagination.
1296-
// get_pages_by_label and list_space_labels have dedicated handlers
1297-
// below that pass cursor along with their required params (labelId, spaceId).
1295+
// get_pages_by_label, list_space_labels, and list_tasks have dedicated handlers
1296+
// below that pass cursor along with their required params.
12981297
const supportsCursor = [
12991298
'list_attachments',
13001299
'list_spaces',
@@ -1308,7 +1307,6 @@ export const ConfluenceV2Block: BlockConfig<ConfluenceResponse> = {
13081307
'get_page_descendants',
13091308
'list_space_permissions',
13101309
'list_space_properties',
1311-
'list_tasks',
13121310
]
13131311

13141312
if (supportsCursor.includes(operation) && cursor) {

0 commit comments

Comments
 (0)