🐛 Fix get chat controller

This commit is contained in:
LittleSheep 2025-06-02 12:40:34 +08:00
parent 88f9157ff8
commit 7eabaf6a0d
2 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,6 @@ public partial class ChatController(AppDatabase db, ChatService cs, ChatRoomServ
.Include(m => m.Sender)
.Include(m => m.Sender.Account)
.Include(m => m.Sender.Account.Profile)
.Include(m => m.Attachments)
.FirstOrDefaultAsync();
if (message is null) return NotFound();

View File

@ -1,3 +1,4 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace DysonNetwork.Sphere.Storage;