Skip to content

Commit

Permalink
Revert "Update packages (madskristensen#163)" (madskristensen#164)
Browse files Browse the repository at this point in the history
This reverts commit 867871a.
  • Loading branch information
madskristensen authored Mar 8, 2021
1 parent 867871a commit 7d292d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 12 additions & 8 deletions src/Miniblog.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Nullable>enable</Nullable>
<NeutralLanguage>en-US</NeutralLanguage>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.ImageOptimizer" Version="1.1.0.39" />
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.295" />
<PackageReference Include="LigerShark.WebOptimizer.Core" Version="3.0.250" />
<PackageReference Include="LigerShark.WebOptimizer.Sass" Version="3.0.40-beta" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SyndicationFeed.ReaderWriter" Version="1.0.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Include="System.Linq.Async" Version="5.0.0" />
<PackageReference Include="System.Linq.Async" Version="4.0.0" />
<PackageReference Include="WebEssentials.AspNetCore.CdnTagHelpers" Version="1.0.21" />
<PackageReference Include="WebEssentials.AspNetCore.OutputCaching" Version="1.0.28" />
<PackageReference Include="WebEssentials.AspNetCore.PWA" Version="1.0.65" />
<PackageReference Include="WebEssentials.AspNetCore.StaticFilesWithCache" Version="1.0.3" />
<PackageReference Include="WebMarkupMin.AspNetCore2" Version="2.9.1" />
<PackageReference Include="WilderMinds.MetaWeblog" Version="5.0.0" />
<PackageReference Include="WebEssentials.AspNetCore.PWA" Version="1.0.59" />
<PackageReference Include="WebEssentials.AspNetCore.StaticFilesWithCache" Version="1.0.1" />
<PackageReference Include="WebMarkupMin.AspNetCore2" Version="2.7.0" />
<PackageReference Include="WilderMinds.MetaWeblog" Version="2.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 2 additions & 4 deletions src/Services/MetaWeblogService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,10 @@ public async Task<Post[]> GetRecentPostsAsync(string blogid, string username, st
this.ValidateUser(username, password);

return await this.blog.GetPosts(numberOfPosts)
.Select(this.ToMetaWebLogPost)
.ToArrayAsync();
.Select(this.ToMetaWebLogPost)
.ToArrayAsync();
}

public Task<Tag[]> GetTagsAsync(string blogid, string username, string password) => Task.FromResult(Array.Empty<Tag>());

public Task<UserInfo> GetUserInfoAsync(string key, string username, string password)
{
this.ValidateUser(username, password);
Expand Down

0 comments on commit 7d292d1

Please sign in to comment.