added array brackets around the accounting record that is sent
This commit is contained in:
parent
ba9b62a86a
commit
f671410b7d
|
@ -402,7 +402,7 @@ function buildAccountingRecord(context){
|
||||||
|
|
||||||
function sendAccountingRecord(context){
|
function sendAccountingRecord(context){
|
||||||
log(context, "Inside send accounting");
|
log(context, "Inside send accounting");
|
||||||
context.request.subrequest("/accounting", { detached : true, body : JSON.stringify(context.record) })
|
context.request.subrequest("/accounting", { detached : true, body : JSON.stringify([context.record]) })
|
||||||
return context
|
return context
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue