Update accounting to take only the first scope for jwt token
This commit is contained in:
parent
3c3bcdf838
commit
1c033b0443
|
@ -456,7 +456,7 @@ function buildAccountingRecord(context) {
|
|||
"serviceName": defaultExport["accounting"]["service_name"],
|
||||
"duration": 0,
|
||||
"maxInvocationTime": 0,
|
||||
"scope": defaultExport["accounting"]["scopes"], // qui va cambiato per capire quale è lo scope corretto dell'utente
|
||||
"scope": defaultExport["accounting"]["scopes"][0], // qui va cambiato per capire quale è lo scope corretto dell'utente, al momento viene preso il primo
|
||||
"host": defaultExport["accounting"]["host"],
|
||||
"startTime": t,
|
||||
"id": uuid(),
|
||||
|
|
Loading…
Reference in New Issue