added array brackets around the accounting record that is sent

This commit is contained in:
dcore94 2024-03-06 15:56:06 +01:00
parent ba9b62a86a
commit f671410b7d
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ function buildAccountingRecord(context){
function sendAccountingRecord(context){
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
}