forked from vikunja/vikunja
fix: return BlurHash in unsplash search results
This commit is contained in:
parent
0e1bddf09d
commit
267407bae3
@ -215,8 +215,9 @@ func (p *Provider) Search(s *xorm.Session, search string, page int64) (result []
|
||||
result = []*background.Image{}
|
||||
for _, p := range searchResult.Results {
|
||||
result = append(result, &background.Image{
|
||||
ID: p.ID,
|
||||
URL: getImageID(p.Urls.Raw),
|
||||
ID: p.ID,
|
||||
URL: getImageID(p.Urls.Raw),
|
||||
BlurHash: p.BlurHash,
|
||||
Info: &models.UnsplashPhoto{
|
||||
UnsplashID: p.ID,
|
||||
Author: p.User.Username,
|
||||
|
Loading…
x
Reference in New Issue
Block a user