Use the right Id when loading unsplash thumbnails

This commit is contained in:
kolaente 2020-05-31 22:08:18 +02:00
parent 6b6b0af819
commit 0b154936e7
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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',
})