fix: return BlurHash in unsplash search results
This commit is contained in:
parent
ba2bdff391
commit
6b51fae093
1 changed files with 3 additions and 2 deletions
|
@ -217,6 +217,7 @@ func (p *Provider) Search(s *xorm.Session, search string, page int64) (result []
|
|||
result = append(result, &background.Image{
|
||||
ID: p.ID,
|
||||
URL: getImageID(p.Urls.Raw),
|
||||
BlurHash: p.BlurHash,
|
||||
Info: &models.UnsplashPhoto{
|
||||
UnsplashID: p.ID,
|
||||
Author: p.User.Username,
|
||||
|
|
Loading…
Reference in a new issue