Skip to content

Commit

Permalink
remove attributes. in comments for SavedObjectsFindOptions.fields
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 committed Aug 8, 2023
1 parent 04065fa commit 3007554
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 @@ -84,7 +84,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 3007554

Please sign in to comment.