fix: do not run snake case for customer data (#861)

This commit is contained in:
Anton Voylenko
2024-08-13 16:45:58 +03:00
committed by GitHub
parent ee68575ea4
commit bae96a6752
2 changed files with 20 additions and 9 deletions

View File

@@ -441,7 +441,7 @@ class SingleDialer extends Emitter {
});
app.requestor.request('session:adulting', '/adulting', {
...cs.callInfo.toJSON(),
parentCallInfo: this.parentCallInfo
parentCallInfo: this.parentCallInfo.toJSON()
}).catch((err) => {
newLogger.error({err}, 'doAdulting: error sending adulting request');
});