From 1c6e69f52cbd51844a31bd70b2b4e428874552d5 Mon Sep 17 00:00:00 2001 From: SuZhoue-Joe Date: Mon, 19 Jun 2023 16:15:55 +0800 Subject: [PATCH] Revert "feat: extract management code" This reverts commit 526c28e01b2a6b80e4f8ee7170b740f5c452b97c. --- src/plugins/saved_objects_management/server/routes/find.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/saved_objects_management/server/routes/find.ts b/src/plugins/saved_objects_management/server/routes/find.ts index 4708e3ae5b5b..eb5a30a015de 100644 --- a/src/plugins/saved_objects_management/server/routes/find.ts +++ b/src/plugins/saved_objects_management/server/routes/find.ts @@ -64,6 +64,9 @@ export const registerFindRoute = ( fields: schema.oneOf([schema.string(), schema.arrayOf(schema.string())], { defaultValue: [], }), + workspaces: schema.maybe( + schema.oneOf([schema.string(), schema.arrayOf(schema.string())]) + ), }), }, },