From 0b154936e7cdf77d4e230492ce0d239ba32c9a93 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 31 May 2020 22:08:18 +0200 Subject: [PATCH] Use the right Id when loading unsplash thumbnails --- src/services/backgroundUnsplash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/backgroundUnsplash.js b/src/services/backgroundUnsplash.js index b1aaba1c..f0d29645 100644 --- a/src/services/backgroundUnsplash.js +++ b/src/services/backgroundUnsplash.js @@ -20,7 +20,7 @@ export default class BackgroundUnsplashService extends AbstractService { thumb(model) { return this.http({ - url: `/backgrounds/unsplash/images/${model.url}/thumb`, + url: `/backgrounds/unsplash/images/${model.id}/thumb`, method: 'GET', responseType: 'blob', })