diff --git a/lib/mediumClient.js b/lib/mediumClient.js index 1bb1255..8a32320 100644 --- a/lib/mediumClient.js +++ b/lib/mediumClient.js @@ -231,8 +231,10 @@ MediumClient.prototype.getContributorsForPublication = function (options, callba * content: string, * tags: Array., * canonicalUrl: string, + * publishedAt: string, * publishStatus: PostPublishStatus, - * license: PostLicense + * license: PostLicense, + * notifyFollowers: bool * }} options * @param {NodeCallback} callback */ @@ -249,7 +251,8 @@ MediumClient.prototype.createPost = function (options, callback) { canonicalUrl: options.canonicalUrl, publishedAt: options.publishedAt, publishStatus: options.publishStatus, - license: options.license + license: options.license, + notifyFollowers: options.notifyFollowers } }, callback) } @@ -270,8 +273,10 @@ MediumClient.prototype.createPost = function (options, callback) { * content: string, * tags: Array., * canonicalUrl: string, + * publishedAt: string, * publishStatus: PostPublishStatus, - * license: PostLicense + * license: PostLicense, + * notifyFollowers: bool * }} options * @param {NodeCallback} callback */ @@ -288,7 +293,8 @@ MediumClient.prototype.createPostInPublication = function (options, callback) { canonicalUrl: options.canonicalUrl, publishedAt: options.publishedAt, publishStatus: options.publishStatus, - license: options.license + license: options.license, + notifyFollowers: options.notifyFollowers } }, callback) }