Skip to content

Commit 4dbc157

Browse files
committed
Fix #25
1 parent f1a84ff commit 4dbc157

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

methods/Key.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports = class Key {
7474
reject(new Error(body.message));
7575
} else {
7676
if (helpers.VerifySignature(body, rsaPubKey)) {
77-
const license = JSON.parse(Buffer.from(helpers.GetValueCaseInsensitive(res,"licenseKey"), "base64").toString("utf-8"));
77+
const license = JSON.parse(Buffer.from(helpers.GetValueCaseInsensitive(body,"licenseKey"), "base64").toString("utf-8"));
7878
license.RawResponse = body;
7979
resolve(license);
8080
} else {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cryptolens",
3-
"version": "1.0.14",
3+
"version": "1.0.14.2",
44
"description": "Client API for NodeJS to access Cryptolens Software Licensing API.",
55
"main": "main.js",
66
"scripts": {

0 commit comments

Comments
 (0)