From 491cd578ce20daaf3a5015cfba907d74ff072ca5 Mon Sep 17 00:00:00 2001 From: Jon Winton Date: Thu, 7 Mar 2019 08:33:09 -0500 Subject: [PATCH] prefer url (#636) --- lib/services/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/publish.js b/lib/services/publish.js index 8c47fac2..91dc71e4 100644 --- a/lib/services/publish.js +++ b/lib/services/publish.js @@ -86,7 +86,7 @@ function _checkForUrlProperty(uri, { url, customUrl }) { return bluebird.reject(new Error('Page does not have a `url` or `customUrl` property set')); } - return bluebird.resolve(customUrl || url); + return bluebird.resolve(url || customUrl); } /**