From 4f486b2c0ad20a2465636dbe064fd81f83b8f6e6 Mon Sep 17 00:00:00 2001 From: Quan HL Date: Sun, 7 May 2023 09:49:24 +0700 Subject: [PATCH] fix type --- lib/session/call-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session/call-info.js b/lib/session/call-info.js index a26c402d..b46db0e9 100644 --- a/lib/session/call-info.js +++ b/lib/session/call-info.js @@ -92,7 +92,7 @@ class CallInfo { this.from = from || req.callingNumber; this.to = to; if (tag) this._customerData = tag; - if (this.metadata) this._customerData = {...this._customerData , ...this.metadata} + if (this.metadata) this._customerData = {...this._customerData, ...this.metadata}; } this.localSipAddress = srf.locals.localSipAddress;