Skip to content

Commit bc533bf

Browse files
committed
Merge branch 'bugfix/first-release' of github.com:eversign/eversign-node-sdk
2 parents b188227 + 8024b2c commit bc533bf

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/Document.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function Document(newDocument = {}) {
203203
throw new Error("Signer needs at least a Name and an E-Mail address");
204204

205205
if( !signer.getId() )
206-
signer.setId( signers.length + 1 )
206+
signer.setId( document.signers.length + 1 )
207207

208208
document.signers.push(signer);
209209
};

lib/Recipient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Recipient(newRecipient) {
4040
};
4141

4242
this.setEmail = function (newEmail) {
43-
recipient.recipientemail = newEmail;
43+
recipient.email = newEmail;
4444
};
4545

4646
this.setRole = function (newRole) {

lib/Request.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ ApiRequest.prototype.startDownload = function () {
130130
function createQuery(context) {
131131
var query = {
132132
access_key : context.accessKey,
133-
business_id: context.businessId
134133
};
135134

136135
if(context.parameters) query = Object.assign(query, context.parameters);

0 commit comments

Comments
 (0)