Skip to content

Commit 04461de

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 e96b847 commit 04461de

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,
@@ -73,9 +73,9 @@ import {
7373
LinearIcon,
7474
LinkedInIcon,
7575
LinkupIcon,
76+
MailServerIcon,
7677
MailchimpIcon,
7778
MailgunIcon,
78-
MailServerIcon,
7979
Mem0Icon,
8080
MicrosoftDataverseIcon,
8181
MicrosoftExcelIcon,
@@ -108,6 +108,8 @@ import {
108108
ResendIcon,
109109
RevenueCatIcon,
110110
S3Icon,
111+
SQSIcon,
112+
STTIcon,
111113
SalesforceIcon,
112114
SearchIcon,
113115
SendgridIcon,
@@ -119,19 +121,17 @@ import {
119121
SimilarwebIcon,
120122
SlackIcon,
121123
SmtpIcon,
122-
SQSIcon,
123124
SshIcon,
124-
STTIcon,
125125
StagehandIcon,
126126
StripeIcon,
127127
SupabaseIcon,
128+
TTSIcon,
128129
TavilyIcon,
129130
TelegramIcon,
130131
TextractIcon,
131132
TinybirdIcon,
132133
TranslateIcon,
133134
TrelloIcon,
134-
TTSIcon,
135135
TwilioIcon,
136136
TypeformIcon,
137137
UpstashIcon,
@@ -142,11 +142,11 @@ import {
142142
WhatsAppIcon,
143143
WikipediaIcon,
144144
WordpressIcon,
145-
xIcon,
146145
YouTubeIcon,
147146
ZendeskIcon,
148147
ZepIcon,
149148
ZoomIcon,
149+
xIcon,
150150
} from '@/components/icons'
151151

152152
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
@@ -147,4 +147,4 @@
147147
"zep",
148148
"zoom"
149149
]
150-
}
150+
}

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)