:drunk: Write shit code trying to split up the Auth (WIP)
This commit is contained in:
@ -7,7 +7,7 @@ namespace DysonNetwork.Sphere.Discovery;
|
||||
public class DiscoveryController(DiscoveryService discoveryService) : ControllerBase
|
||||
{
|
||||
[HttpGet("realms")]
|
||||
public Task<List<Realm.Realm>> GetPublicRealms(
|
||||
public Task<List<Common.Models.Realm>> GetPublicRealms(
|
||||
[FromQuery] string? query,
|
||||
[FromQuery] List<string>? tags,
|
||||
[FromQuery] int take = 10,
|
||||
|
@ -3,7 +3,7 @@ namespace DysonNetwork.Sphere.Discovery;
|
||||
|
||||
public class DiscoveryService(AppDatabase appDatabase)
|
||||
{
|
||||
public Task<List<Realm.Realm>> GetPublicRealmsAsync(string? query,
|
||||
public Task<List<Common.Models.Realm>> GetPublicRealmsAsync(string? query,
|
||||
List<string>? tags,
|
||||
int take = 10,
|
||||
int offset = 0,
|
||||
|
Reference in New Issue
Block a user