Skip to content

Commit

Permalink
Fixed typo from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
babelshift committed May 6, 2020
1 parent 9de9651 commit dd037ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SteamWebAPI2/Mappings/SteamRemoteStorageProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public SteamRemoteStorageProfile()
});
CreateMap<PublishedFileDetails, PublishedFileDetailsModel>()
.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<PublishedFileDetailsResultContainer, IReadOnlyCollection<PublishedFileDetailsModel>>()
.ConvertUsing((src, dest, context) =>
context.Mapper.Map<IList<PublishedFileDetails>, IReadOnlyCollection<PublishedFileDetailsModel>>(
Expand Down

0 comments on commit dd037ac

Please sign in to comment.