diff --git a/src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs b/src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs index c3a2e3c..cd7dd7f 100644 --- a/src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs +++ b/src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs @@ -18,7 +18,7 @@ public SteamRemoteStorageProfile() }); CreateMap() .ForMember(dest => dest.FileUrl, opts => opts.MapFrom(source => !string.IsNullOrWhiteSpace(source.FileUrl) ? new Uri(source.FileUrl) : null)) - .ForMember(dest => dest.PreviewUrl, opts => opts.MapFrom(source => !string.IsNullOrWhiteSpace(source.FileUrl) ? new Uri(source.PreviewUrl) : null)); + .ForMember(dest => dest.PreviewUrl, opts => opts.MapFrom(source => !string.IsNullOrWhiteSpace(source.PreviewUrl) ? new Uri(source.PreviewUrl) : null)); CreateMap>() .ConvertUsing((src, dest, context) => context.Mapper.Map, IReadOnlyCollection>(