From 962d2c89ff092c5df41b37396ef84d0a99cf7ea0 Mon Sep 17 00:00:00 2001 From: hafemann Date: Tue, 1 Oct 2024 15:56:26 +0200 Subject: [PATCH] :bug: fix sending [] instead of null in createCallLogForPhoneNumber --- src/controllers/call-log.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/call-log.controller.ts b/src/controllers/call-log.controller.ts index c2b14791..34640e96 100644 --- a/src/controllers/call-log.controller.ts +++ b/src/controllers/call-log.controller.ts @@ -43,7 +43,7 @@ export class CallLogController { `Skipping call log for call id ${req.body.id}`, providerConfig.apiKey, ); - res.status(200).send([]); + res.status(200).send(null); return; }