diff --git a/pkg/web_api/maps.go b/pkg/web_api/maps.go index 0475992..1526692 100644 --- a/pkg/web_api/maps.go +++ b/pkg/web_api/maps.go @@ -69,6 +69,13 @@ func (svc *Service) ListMaps(ctx context.Context, params api.ListMapsParams) ([] Creator: item.Creator, GameID: int32(item.GameID), Date: item.Date.Unix(), + CreatedAt: item.CreatedAt.Unix(), + UpdatedAt: item.UpdatedAt.Unix(), + Submitter: item.Submitter, + Thumbnail: item.Thumbnail, + AssetVersion: item.AssetVersion, + LoadCount: item.LoadCount, + Modes: item.Modes, }) } @@ -92,6 +99,13 @@ func (svc *Service) GetMap(ctx context.Context, params api.GetMapParams) (*api.M Creator: mapResponse.Creator, GameID: int32(mapResponse.GameID), Date: mapResponse.Date.Unix(), + CreatedAt: mapResponse.CreatedAt.Unix(), + UpdatedAt: mapResponse.UpdatedAt.Unix(), + Submitter: mapResponse.Submitter, + Thumbnail: mapResponse.Thumbnail, + AssetVersion: mapResponse.AssetVersion, + LoadCount: mapResponse.LoadCount, + Modes: mapResponse.Modes, }, nil }