diff --git a/DysonNetwork.Sphere/Publisher/PublisherController.cs b/DysonNetwork.Sphere/Publisher/PublisherController.cs index 137e966..76c49a9 100644 --- a/DysonNetwork.Sphere/Publisher/PublisherController.cs +++ b/DysonNetwork.Sphere/Publisher/PublisherController.cs @@ -1,7 +1,6 @@ using System.ComponentModel.DataAnnotations; using DysonNetwork.Sphere.Account; using DysonNetwork.Sphere.Permission; -using DysonNetwork.Sphere.Post; using DysonNetwork.Sphere.Realm; using DysonNetwork.Sphere.Storage; using Microsoft.AspNetCore.Authorization; @@ -450,4 +449,4 @@ public class PublisherController( return NoContent(); } -} \ No newline at end of file +} diff --git a/DysonNetwork.Sphere/Realm/RealmController.cs b/DysonNetwork.Sphere/Realm/RealmController.cs index 9e81519..ebbc2bf 100644 --- a/DysonNetwork.Sphere/Realm/RealmController.cs +++ b/DysonNetwork.Sphere/Realm/RealmController.cs @@ -243,7 +243,7 @@ public class RealmController( } } - + [HttpGet("{slug}/members/me")] [Authorize] @@ -384,8 +384,6 @@ public class RealmController( var realm = await db.Realms .Where(r => r.Slug == slug) - .Include(r => r.Picture) - .Include(r => r.Background) .FirstOrDefaultAsync(); if (realm is null) return NotFound(); @@ -611,4 +609,4 @@ public class RealmController( return NoContent(); } -} \ No newline at end of file +}