Skip to content

Commit e7005da

Browse files
committed
fix(apollo): cap account_attributes at 1000 in bulk update
1 parent 4521402 commit e7005da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/tools/apollo/account_bulk_update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const apolloAccountBulkUpdateTool: ToolConfig<
7474
if (params.account_attributes) {
7575
if (Array.isArray(params.account_attributes)) {
7676
if (params.account_attributes.length > 0) {
77-
body.account_attributes = params.account_attributes
77+
body.account_attributes = params.account_attributes.slice(0, 1000)
7878
}
7979
} else if (
8080
typeof params.account_attributes === 'object' &&

0 commit comments

Comments
 (0)