Skip to content

Commit

Permalink
Update msearch.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime authored Jul 26, 2023
1 parent 741cc53 commit c11c46c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/kbn-content-management-utils/src/msearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export const getMSearch = <ReturnItem, SOAttributes extends object>({
ReturnItem,
ReturnItem
>(
// Ran into a case where a schema was broken by a SO attribute that wasn't part of the definition
// so we specify which attributes are allowed
savedObjectToItem<SOAttributes>(
savedObject as SavedObjectsFindResult<SOAttributes>,
allowedSavedObjectAttributes
Expand Down

0 comments on commit c11c46c

Please sign in to comment.