🐛 Fix missing pagination query in discovery controller

This commit is contained in:
2025-06-27 18:02:12 +08:00
parent 0bdd429d87
commit 9f8eec792b
2 changed files with 9 additions and 13 deletions

View File

@ -1,10 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DysonNetwork.Sphere;
using DysonNetwork.Sphere.Realm;
using Microsoft.EntityFrameworkCore;
namespace DysonNetwork.Sphere.Discovery;
public class DiscoveryService(AppDatabase appDatabase)
@ -35,4 +29,4 @@ public class DiscoveryService(AppDatabase appDatabase)
return realmsQuery.Skip(offset).Take(take).ToListAsync();
}
}
}