Skip to content

Commit 05419cc

Browse files
committed
fix(attio): always send required workspace_access and workspace_member_access in create list
1 parent 721c77f commit 05419cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/sim/tools/attio/create_list.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ export const attioCreateListTool: ToolConfig<AttioCreateListParams, AttioCreateL
6868
const data: Record<string, unknown> = {
6969
name: params.name,
7070
parent_object: params.parentObject,
71+
workspace_access: params.workspaceAccess ?? null,
72+
workspace_member_access: [] as unknown[],
7173
}
7274
if (params.apiSlug) data.api_slug = params.apiSlug
73-
if (params.workspaceAccess) data.workspace_access = params.workspaceAccess
7475
if (params.workspaceMemberAccess) {
7576
try {
7677
data.workspace_member_access =

0 commit comments

Comments
 (0)