Skip to content

Commit

Permalink
[gh-#893] add default
Browse files Browse the repository at this point in the history
  • Loading branch information
khaliqgant committed Aug 9, 2023
1 parent 6cd5518 commit d050a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-v2/sdks/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const records = await nango.getRecords<ModelName>({
offset: <number>, // Optional: For pagination: The number of records to skip. If not passed, no records are skipped.
sortBy: 'id' | 'createdAt' | 'updatedAt', // Optional: Optional: Set how the records are sorted. The default is by 'id'
order: 'asc' | 'desc', // Optional: Set the order of results. The default is 'desc'
includeNangoMetadata: <boolean> // Optional: Include Nango metadata that wraps the response
includeNangoMetadata: <boolean> // Optional: Include Nango metadata that wraps the response, the default is false
});

console.log(records);
Expand Down

0 comments on commit d050a3a

Please sign in to comment.