From b72e715d0fd7ce984abe569558ffca766ee79477 Mon Sep 17 00:00:00 2001 From: Mathis Date: Wed, 15 May 2024 09:32:51 +0200 Subject: [PATCH] feat: add promise callback to getAllUsers method call This commit adds an empty then() callback to the getAllUsers method call to handle the returned promise. This is typically followed by actual actions in production to handle the promise resolution. Signed-off-by: Mathis --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 827eb72..4e36e07 100644 --- a/src/app.ts +++ b/src/app.ts @@ -63,4 +63,4 @@ try { process.exit(1); } -justForTesting.getAllUsers() \ No newline at end of file +justForTesting.getAllUsers().then(()=>{}) \ No newline at end of file