From 4dba38a49017cd011e2e1dbb13ab1f34b068d0ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20Mal=C3=BD?= <michal.maly@ibt.cas.cz>
Date: Mon, 10 Oct 2022 14:44:45 +0200
Subject: [PATCH] ReDNATCO plugin stage 23

---
 src/apps/rednatco/api-impl.ts | 2 +-
 src/apps/rednatco/api.ts      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/apps/rednatco/api-impl.ts b/src/apps/rednatco/api-impl.ts
index 4a4dafce4..a24cca51f 100644
--- a/src/apps/rednatco/api-impl.ts
+++ b/src/apps/rednatco/api-impl.ts
@@ -14,7 +14,7 @@ export class ReDNATCOMspApiImpl implements ReDNATCOMspApi.Object {
         this.target = target;
     }
 
-    command(cmd: ReDNATCOMspApi.Command) {
+    async command(cmd: ReDNATCOMspApi.Command) {
         this.check();
         this.target!.command(cmd);
     }
diff --git a/src/apps/rednatco/api.ts b/src/apps/rednatco/api.ts
index 8ccf9a541..56f6799a5 100644
--- a/src/apps/rednatco/api.ts
+++ b/src/apps/rednatco/api.ts
@@ -112,7 +112,7 @@ export namespace ReDNATCOMspApi {
     }
 
     export interface Object {
-        command: (cmd: Command) => void;
+        command: (cmd: Command) => Promise<void>;
         event: (evt: Event) => void;
         init: (elemId: string, onEvent?: (evt: Event) => void) => void;
         isReady: () => boolean;
-- 
GitLab