mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-22 08:23:52 +01:00
Fixed incorrect struct name
This commit is contained in:
parent
15db5899f8
commit
c8ef9589ec
@ -54,7 +54,7 @@ func getItemsFromBGGFeedTask(response BGGFeedResponseXML) (BggBoardGames) {
|
|||||||
|
|
||||||
for _, item := range response.Items {
|
for _, item := range response.Items {
|
||||||
splitUrl := strings.Split(item.Thumbnail.Value, "filters:strip_icc()")
|
splitUrl := strings.Split(item.Thumbnail.Value, "filters:strip_icc()")
|
||||||
thumbUrl := ThumbnailUrl { splitUrl[0], splitUrl[1]}
|
thumbUrl := BggThumbnailUrl { splitUrl[0], splitUrl[1]}
|
||||||
bggBoardGame := BggBoardGame {
|
bggBoardGame := BggBoardGame {
|
||||||
ID: item.ID,
|
ID: item.ID,
|
||||||
ThumbnailUrl: thumbUrl,
|
ThumbnailUrl: thumbUrl,
|
||||||
|
Loading…
Reference in New Issue
Block a user