This commit is contained in:
Quan HL committed 2023-07-27 22:23:01 +07:00
1 parent ad57931222
commit b5efb7351b
3 files changed
+9 -2

No files matched your search

+3
View File
@@ -144,6 +144,9 @@ class CallInfo {
if (typeof this.duration === 'number') obj.duration = this.duration;
if (this._customerData) {
Object.assign(obj, {customerData: this._customerData});
// Duplicate customer data here to respect API contract that was created by bug
//https://github.com/jambonz/jambonz-feature-server/issues/406
Object.assign(obj, {customerdata: this._customerData});
}