From faea56156ea2e7ffbec754ad0bc9382614b215bc Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 27 Sep 2017 17:34:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20broken=20"retry"=20link?= =?UTF-8?q?=20when=20an=20Unsplash=20API=20request=20failed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Ghost/issues/9041 - add missing public `retryLastRequest()` method to Unsplash service --- app/services/unsplash.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/services/unsplash.js b/app/services/unsplash.js index 266b8e80a9..595bd33df5 100644 --- a/app/services/unsplash.js +++ b/app/services/unsplash.js @@ -54,6 +54,10 @@ export default Service.extend({ return reject(); }, + retryLastRequest() { + return this.get('_retryLastRequest').perform(); + }, + changeColumnCount(newColumnCount) { if (newColumnCount !== this.get('columnCount')) { this.set('columnCount', newColumnCount);