Skip to content

Commit

Permalink
fix: Default topmax for when default is not passed in EnableQuery att…
Browse files Browse the repository at this point in the history
…ribute you could not specify the top query parameter
  • Loading branch information
Jamess-Lucass committed Jan 12, 2024
1 parent fa7665c commit e7c011d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Attributes/EnableQueryAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public sealed class EnableQueryAttribute<T> : Attribute, IActionFilter
{
private readonly int _topMax;
private readonly int _topMax = 100;

public EnableQueryAttribute(int topMax)
{
Expand Down

0 comments on commit e7c011d

Please sign in to comment.