From 0722e99dc04d1e4263cdcec26e781dc6da91fb9a Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 1 May 2021 23:39:21 -0500 Subject: [PATCH] Use the new exec function in Request and Seeker --- services/request/src/server/index.ts | 2 +- services/seeker/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/request/src/server/index.ts b/services/request/src/server/index.ts index fd27716..92fdbf2 100644 --- a/services/request/src/server/index.ts +++ b/services/request/src/server/index.ts @@ -14,4 +14,4 @@ let app = new Application(appKey); /** * Start the application */ -app.exec(); +app.exec().then(process.exit); diff --git a/services/seeker/src/index.ts b/services/seeker/src/index.ts index 49185c5..4f0f3da 100644 --- a/services/seeker/src/index.ts +++ b/services/seeker/src/index.ts @@ -4,4 +4,4 @@ import Application from "./Application"; let app = new Application(); // Start the application -app.exec(); +app.exec().then(process.exit);