From d9c03396ac3c654bbcc5185cd21ab7037d4ee5e7 Mon Sep 17 00:00:00 2001 From: John Schulz Date: Mon, 15 Jun 2020 07:25:45 -0400 Subject: [PATCH] Does restoring await fix CI? --- x-pack/plugins/ingest_manager/server/services/output.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ingest_manager/server/services/output.ts b/x-pack/plugins/ingest_manager/server/services/output.ts index c2656a6223fa5..b4af231024370 100644 --- a/x-pack/plugins/ingest_manager/server/services/output.ts +++ b/x-pack/plugins/ingest_manager/server/services/output.ts @@ -15,7 +15,7 @@ let cachedAdminUser: null | { username: string; password: string } = null; class OutputService { public async getDefaultOutput(soClient: SavedObjectsClientContract) { - return soClient.find({ + return await soClient.find({ type: OUTPUT_SAVED_OBJECT_TYPE, searchFields: ['is_default'], search: 'true',