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 <mherriot@yidhra.fr>
This commit is contained in:
Mathis
2024-05-15 09:32:51 +02:00
parent f5a9885589
commit b72e715d0f

View File

@@ -63,4 +63,4 @@ try {
process.exit(1); process.exit(1);
} }
justForTesting.getAllUsers() justForTesting.getAllUsers().then(()=>{})