fix: properly fill collectible community data

This commit is contained in:
Dario Gabriel Lipicar 2023-11-01 15:44:11 -03:00 committed by dlipicar
parent f57c6a26b5
commit c17829bf8d
1 changed files with 6 additions and 0 deletions

View File

@ -692,9 +692,15 @@ func (o *Manager) getCacheFullCollectibleData(uniqueIDs []thirdparty.Collectible
}
}
communityInfo, err := o.collectiblesDataDB.GetCommunityInfo(id)
if err != nil {
return nil, err
}
fullData := thirdparty.FullCollectibleData{
CollectibleData: collectibleData,
CollectionData: &collectionData,
CommunityInfo: communityInfo,
}
ret = append(ret, fullData)
}