From 6e7a190ff0f1131f91c47fe251b903606b15d3eb Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Thu, 16 Jan 2020 11:13:36 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9D=8CRemove=20unnecessary=20awaits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cameron Diver --- src/api-binder.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api-binder.ts b/src/api-binder.ts index 91a77506..81a7d3b4 100644 --- a/src/api-binder.ts +++ b/src/api-binder.ts @@ -549,7 +549,7 @@ export class APIBinder { } await this.report(); - await this.reportCurrentState(); + this.reportCurrentState(); } catch (e) { this.eventTracker.track('Device state report failure', { error: e }); // We use the poll interval as the upper limit of @@ -562,7 +562,7 @@ export class APIBinder { ++this.stateReportErrors; await Bluebird.delay(delay); - await this.reportCurrentState(); + this.reportCurrentState(); } })(); return null;