Skip to content

Commit 507adc7

Browse files
committed
fix notion
1 parent 5f321e8 commit 507adc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/sim/tools/notion/query_database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export const notionQueryDatabaseV2Tool: ToolConfig<
217217
},
218218
},
219219
has_more: { type: 'boolean', description: 'Whether more results are available' },
220-
next_cursor: { type: 'string', description: 'Cursor for pagination' },
220+
next_cursor: { type: 'string', description: 'Cursor for pagination', optional: true },
221221
total_results: { type: 'number', description: 'Number of results returned' },
222222
},
223223
}

apps/sim/tools/notion/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const notionSearchV2Tool: ToolConfig<NotionSearchParams, NotionSearchV2Re
185185
},
186186
},
187187
has_more: { type: 'boolean', description: 'Whether more results are available' },
188-
next_cursor: { type: 'string', description: 'Cursor for pagination' },
188+
next_cursor: { type: 'string', description: 'Cursor for pagination', optional: true },
189189
total_results: { type: 'number', description: 'Number of results returned' },
190190
},
191191
}

0 commit comments

Comments
 (0)