Skip to content

Commit

Permalink
修复List没有正确返回的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
j4587698 committed May 8, 2023
1 parent f03c7c2 commit 7be951d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AListSdkSharp/AListSdkSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Description>AList .Net Sdk</Description>
<PackageProjectUrl>https://github.com/j4587698/AListSdkSharp</PackageProjectUrl>
<RepositoryUrl>https://github.com/j4587698/AListSdkSharp</RepositoryUrl>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions AListSdkSharp/Api/Fs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public static class Fs
/// <returns></returns>
public static async Task<ListOutVo> List(string baseUrl, string token, ListInVo listInVo)
{
var res = await $"{baseUrl}/api/fs/list".WithHeaders(new {Authorization = token}).PostJsonAsync(listInVo).ReceiveJson<ListOutVo>();
return null;
return await $"{baseUrl}/api/fs/list".WithHeaders(new {Authorization = token}).PostJsonAsync(listInVo).ReceiveJson<ListOutVo>();
}

/// <summary>
Expand Down

0 comments on commit 7be951d

Please sign in to comment.