Skip to content

Commit

Permalink
Merge pull request #53 from gtron/gtron-fix-52-document_is_cancelled
Browse files Browse the repository at this point in the history
fix: property name is_cancelled has UK spelling
  • Loading branch information
archivelm authored Oct 12, 2021
2 parents 7084105 + 0cfad35 commit d764d6c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ function Document(newDocument = {}) {
isTrashed: undefined,

/**
* Check if the document has been canceled.
* @var {Boolean} isCanceled
* Check if the document has been cancelled.
* @var {Boolean} isCancelled
* @type {Boolean}
*/
isCanceled: undefined,
isCancelled: undefined,

/**
*
Expand Down Expand Up @@ -390,8 +390,9 @@ function Document(newDocument = {}) {
return document.isCompleted;
};

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

this.getIsDeleted = function () {
Expand Down

0 comments on commit d764d6c

Please sign in to comment.