Skip to content

Commit

Permalink
[uptime/usage-collector] add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed May 11, 2020
1 parent 4912153 commit a35761f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class KibanaTelemetryAdapter {
fetch: async (callCluster: APICaller) => {
const savedObjectsClient = getSavedObjectsClient()!;
if (savedObjectsClient) {
this.countNoOfUniqueMonitorAndLocations(callCluster, savedObjectsClient);
await this.countNoOfUniqueMonitorAndLocations(callCluster, savedObjectsClient);
}
const report = this.getReport();
return { last_24_hours: { hits: { ...report } } };
Expand Down

0 comments on commit a35761f

Please sign in to comment.