Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DigiGov-OSS
getNncIdentityClient
Commits
c99dc68e
Commit
c99dc68e
authored
Feb 11, 2022
by
Panagiotis Skarvelis
Browse files
compine auditrecord on output
parent
475c10ef
Changes
2
Show whitespace changes
Inline
Side-by-side
README.md
View file @
c99dc68e
...
...
@@ -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:
...
...
src/index.ts
View file @
c99dc68e
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment