Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
πŸ› Fixed broken "retry" link when an Unsplash API request failed (#875)
Browse files Browse the repository at this point in the history
closes TryGhost/Ghost#9041

- add missing public `retryLastRequest()` method to Unsplash service
  • Loading branch information
kevinansfield authored and aileen committed Sep 28, 2017
1 parent e16725a commit 4e5fda2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/services/unsplash.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4e5fda2

Please sign in to comment.