🐛 Fix unable to update publishers
This commit is contained in:
parent
f5fb133e99
commit
bf5ae17741
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user