Skip to content

Commit 33dd4a5

Browse files
committed
Change property to JS friendly naming
1 parent e1d51ae commit 33dd4a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ app.all('*', (req, res) => {
4747
};
4848

4949
//Add client certificate details to the output
50-
echo['client-certificate'] = req.socket.getPeerCertificate();
50+
echo['clientCertificate'] = req.socket.getPeerCertificate();
5151

5252
if(req.is('application/json')){
5353
echo.json = JSON.parse(req.body)

0 commit comments

Comments
 (0)