aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Events/EventService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slskd/Events/EventService.cs b/src/slskd/Events/EventService.cs
index 7f09010f..7a70cf05 100644
--- a/src/slskd/Events/EventService.cs
+++ b/src/slskd/Events/EventService.cs
@@ -20,7 +20,6 @@ namespace slskd.Events;
using System;
using System.Collections.Generic;
using System.Linq;
-using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Serilog;
@@ -49,7 +48,7 @@ public class EventService
/// <returns>The retrieved list.</returns>
/// <exception cref="ArgumentOutOfRangeException">Thrown when the specified <paramref name="offset"/> is less than zero.</exception>
/// <exception cref="ArgumentOutOfRangeException">Thrown when the specified <paramref name="limit"/> is zero.</exception>
- public virtual async Task<IReadOnlyCollection<EventRecord>> Get(int offset = 0, int limit = 100)
+ public virtual IReadOnlyCollection<EventRecord> GetPage(int offset = 0, int limit = 100)
{
if (offset < 0)
{