Skip to content

Commit ab6a2b7

Browse files
committed
🐛 fix missing await
1 parent 6c1caf7 commit ab6a2b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/models/controller.model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,8 @@ export class Controller {
413413
infoLogger('streamContacts', 'END', providerConfig.apiKey);
414414

415415
res.status(200).send({ timestamp });
416+
417+
await streamingPromise;
416418
} catch (error: any) {
417419
// prevent logging of refresh errors
418420
if (

0 commit comments

Comments
 (0)