🐛 Fix update chat room failed

This commit is contained in:
LittleSheep 2025-06-27 22:54:50 +08:00
parent f540544a47
commit 5dd138949e

View File

@ -239,7 +239,6 @@ public class ChatRoomController(
var chatRoom = await db.ChatRooms var chatRoom = await db.ChatRooms
.Where(e => e.Id == id) .Where(e => e.Id == id)
.Include(c => c.Background)
.FirstOrDefaultAsync(); .FirstOrDefaultAsync();
if (chatRoom is null) return NotFound(); if (chatRoom is null) return NotFound();