Skip to content

Commit

Permalink
Update MercyFork.Data/MercyForkOcktoKitExtensions.cs
Browse files Browse the repository at this point in the history
Co-authored-by: ArmoryNode <[email protected]>
  • Loading branch information
theyo and ArmoryNode authored Oct 8, 2024
1 parent 772ccce commit 2c7d370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MercyFork.Data/MercyForkOcktoKitExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static SearchRepositoriesRequest ToSearchRepositoriesRequest(this RepoSea
Forks = searchCriteria.Forks?.ToRange(),
//Followers = searchCriteria.Followers?.ToRange(),
SortField = searchCriteria.SortField is not null ? Enum.Parse<RepoSearchSort>(searchCriteria.SortField) : null,
Order = Enum.Parse<SortDirection>(searchCriteria.SortDirection),
Order = Enum.Parse<SortDirection>(searchCriteria.SortDirection ?? "desc"),
Page = searchCriteria.Page,
PerPage = searchCriteria.PageSize
};
Expand Down

0 comments on commit 2c7d370

Please sign in to comment.