From e7c011d5b8bc9dffefa7d681e6bcdc7774671326 Mon Sep 17 00:00:00 2001 From: Jamess-Lucass Date: Fri, 12 Jan 2024 16:47:19 +0000 Subject: [PATCH] fix: Default topmax for when default is not passed in EnableQuery attribute you could not specify the top query parameter --- src/Attributes/EnableQueryAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Attributes/EnableQueryAttribute.cs b/src/Attributes/EnableQueryAttribute.cs index 2dc9ccd..c54afe9 100644 --- a/src/Attributes/EnableQueryAttribute.cs +++ b/src/Attributes/EnableQueryAttribute.cs @@ -4,7 +4,7 @@ public sealed class EnableQueryAttribute : Attribute, IActionFilter { - private readonly int _topMax; + private readonly int _topMax = 100; public EnableQueryAttribute(int topMax) {