Fixed incorrect struct name

This commit is contained in:
Taffaz 2024-09-20 07:58:54 +00:00
parent 15db5899f8
commit c8ef9589ec

View File

@ -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,