Skip to content

Commit 04586c8

Browse files
committed
fixed due to comments
1 parent f4969e7 commit 04586c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugins/actions/server/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export class ActionsPlugin implements Plugin<Promise<PluginSetupContract>, Plugi
339339
? Promise.all(
340340
objects.map(async (objectItem) => await (await client).get({ id: objectItem.id }))
341341
)
342-
: new Promise(() => []);
342+
: Promise.resolve([]);
343343
});
344344

345345
const getScopedSavedObjectsClientWithoutAccessToActions = (request: KibanaRequest) =>

0 commit comments

Comments
 (0)