Commit c99dc68e authored by Panagiotis Skarvelis's avatar Panagiotis Skarvelis
Browse files

compine auditrecord on output

parent 475c10ef
......@@ -74,7 +74,13 @@ an object like the following:
mobile: '6979114217',
email: 'andreas-hal@hotmail.com',
epikForeisFlag: '1',
epidForeisFlag: '1'
epidForeisFlag: '1',
auditUnit: 'gov.gr',
auditTransactionId: '52',
auditProtocol: '1/2022-02-11',
auditTransactionDate: '2022-02-11T08:39:50Z',
auditUserIp: '127.0.0.1',
auditUserId: 'system'
}
```
or an error message like:
......
......@@ -67,7 +67,7 @@ export const getIdentity = async (afm:string, user:string, pass:string, overides
try {
const s = new soapClient(wsdl, user, pass, auditRecord);
const Identity = await s.getIdentity(afm);
return Identity;
return {...Identity,...auditRecord};
} catch (error) {
throw(error);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment