Persist ExpiresAt when editing a Meow
This commit is contained in:
@@ -73,6 +73,7 @@ public class SlidesController : Controller
|
|||||||
existing.BackgroundColor = slide.BackgroundColor;
|
existing.BackgroundColor = slide.BackgroundColor;
|
||||||
existing.BackgroundImage = slide.BackgroundImage;
|
existing.BackgroundImage = slide.BackgroundImage;
|
||||||
existing.BackgroundSize = slide.BackgroundSize;
|
existing.BackgroundSize = slide.BackgroundSize;
|
||||||
|
existing.ExpiresAt = slide.ExpiresAt;
|
||||||
existing.UpdatedAt = DateTime.UtcNow;
|
existing.UpdatedAt = DateTime.UtcNow;
|
||||||
|
|
||||||
await _db.SaveChangesAsync();
|
await _db.SaveChangesAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user