Skip to content

Commit d764d6c

Browse files
Merge pull request #53 from gtron/gtron-fix-52-document_is_cancelled
fix: property name is_cancelled has UK spelling
2 parents 7084105 + 0cfad35 commit d764d6c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

lib/Document.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ function Document(newDocument = {}) {
7070
isTrashed: undefined,
7171

7272
/**
73-
* Check if the document has been canceled.
74-
* @var {Boolean} isCanceled
73+
* Check if the document has been cancelled.
74+
* @var {Boolean} isCancelled
7575
* @type {Boolean}
7676
*/
77-
isCanceled: undefined,
77+
isCancelled: undefined,
7878

7979
/**
8080
*
@@ -390,8 +390,9 @@ function Document(newDocument = {}) {
390390
return document.isCompleted;
391391
};
392392

393-
this.getIsCanceled = function () {
394-
return document.isCanceled;
393+
// UK Spelling. Check ApiDoc: https://eversign.com/api/documentation/methods#get-document-template
394+
this.getIsCancelled = function () {
395+
return document.isCancelled;
395396
};
396397

397398
this.getIsDeleted = function () {

0 commit comments

Comments
 (0)