Skip to content

Commit

Permalink
remove attributes. in comments for SavedObjectsFindOptions.fields (o…
Browse files Browse the repository at this point in the history
…pensearch-project#4695)

Signed-off-by: Joshua Li <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
  • Loading branch information
joshuali925 and joshuarrrr authored Jun 5, 2024
1 parent 2b8600d commit 31b79e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server/saved_objects/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface SavedObjectsFindOptions {
/**
* An array of fields to include in the results
* @example
* SavedObjects.find({type: 'dashboard', fields: ['attributes.name', 'attributes.location']})
* SavedObjects.find({type: 'dashboard', fields: ['name', 'location']})
*/
fields?: string[];
/** Search documents using the OpenSearch Simple Query String syntax. See OpenSearch Simple Query String `query` argument for more information */
Expand Down

0 comments on commit 31b79e4

Please sign in to comment.