0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-21 20:53:00 -05:00

Fix missing pfps in search

This commit is contained in:
dragongoose 2023-07-05 10:39:16 -04:00
parent f172fa42c3
commit 21765cf24e

View file

@ -488,7 +488,7 @@ func GetSearchResult(query string) (structs.SearchResult, error) {
Followers: int(streamer.Get("item.followers.totalCount").Int()),
IsLive: !(stream == ""),
About: streamer.Get("item.description").String(),
Pfp: extractor.ProxyUrl(streamer.Get("item.prifileImageURL").String()),
Pfp: extractor.ProxyUrl(streamer.Get("item.profileImageURL").String()),
IsPartner: false,
ColorHex: nil,
Id: streamer.Get("item.channel.id").String(),