Use the right Id when loading unsplash thumbnails
This commit is contained in:
parent
6b6b0af819
commit
0b154936e7
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue