From 5df5d3378d757868ff3ccc7ada65de15ed7c9794 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 Sep 2024 17:13:41 -0500 Subject: keep tweaking the Get --- src/slskd/Events/EventService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/slskd/Events/EventService.cs b/src/slskd/Events/EventService.cs index 7a70cf05..0406f83d 100644 --- a/src/slskd/Events/EventService.cs +++ b/src/slskd/Events/EventService.cs @@ -41,14 +41,14 @@ public class EventService private ILogger Log { get; } = Serilog.Log.ForContext(); /// - /// Gets a paginated list of events. + /// Gets list of events, optionally applying the specified and . /// /// The beginning offset for the page. /// The page size limit. /// The retrieved list. /// Thrown when the specified is less than zero. /// Thrown when the specified is zero. - public virtual IReadOnlyCollection GetPage(int offset = 0, int limit = 100) + public virtual IReadOnlyCollection Get(int offset = 0, int limit = int.MaxValue) { if (offset < 0) { -- cgit v1.2.3