🐛 Fix unable to update publishers

This commit is contained in:
LittleSheep 2025-06-02 11:34:05 +08:00
parent f5fb133e99
commit bf5ae17741

View File

@ -330,8 +330,6 @@ namespace DysonNetwork.Sphere.Publisher;
var publisher = await db.Publishers var publisher = await db.Publishers
.Where(p => p.Name == name) .Where(p => p.Name == name)
.Include(publisher => publisher.Picture)
.Include(publisher => publisher.Background)
.FirstOrDefaultAsync(); .FirstOrDefaultAsync();
if (publisher is null) return NotFound(); if (publisher is null) return NotFound();