We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcae93c commit efa68c2Copy full SHA for efa68c2
x-pack/plugins/alerts/server/plugin.ts
@@ -374,7 +374,7 @@ export class AlertingPlugin {
374
return (objects?: SavedObjectsBulkGetObject[]) =>
375
objects
376
? Promise.all(objects.map(async (objectItem) => await client.get({ id: objectItem.id })))
377
- : new Promise(() => []);
+ : Promise.resolve([]);
378
});
379
380
scheduleAlertingTelemetry(this.telemetryLogger, plugins.taskManager);
0 commit comments