From 90aac2ba868eb6e95045eadac7b17d5f148fb371 Mon Sep 17 00:00:00 2001 From: Khodor Date: Mon, 22 Aug 2016 16:40:18 +0400 Subject: [PATCH] added support for publishedAt --- lib/mediumClient.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mediumClient.js b/lib/mediumClient.js index 6adda8d..9ee7844 100644 --- a/lib/mediumClient.js +++ b/lib/mediumClient.js @@ -232,6 +232,7 @@ MediumClient.prototype.getContributorsForPublication = function (options, callba * tags: Array., * canonicalUrl: string, * publishStatus: PostPublishStatus, + * publishedAt: PostPublishedAt * license: PostLicense * }} options * @param {NodeCallback} callback @@ -248,6 +249,7 @@ MediumClient.prototype.createPost = function (options, callback) { tags: options.tags, canonicalUrl: options.canonicalUrl, publishStatus: options.publishStatus, + publishedAt: options.publishedAt, license: options.license } }, callback)