Skip to content

Commit ed43c6a

Browse files
authored
Update README.md
1 parent 1c444b3 commit ed43c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const string payload =
148148
}
149149
}
150150
};
151-
const fle = new require('mastercard-client-encryption').FieldLevelEncryption(config);
151+
const fle = new (require('mastercard-client-encryption')).FieldLevelEncryption(config);
152152
let responsePayload = fle.encrypt("/resource1", header, payload);
153153
```
154154

@@ -198,7 +198,7 @@ response.body =
198198
}
199199
}
200200
};
201-
const fle = new require('mastercard-client-encryption').FieldLevelEncryption(config);
201+
const fle = new (require('mastercard-client-encryption')).FieldLevelEncryption(config);
202202
let responsePayload = fle.decrypt(response);
203203
```
204204

0 commit comments

Comments
 (0)