diff --git a/Project-Unite/Controllers/DeveloperController.cs b/Project-Unite/Controllers/DeveloperController.cs index 16c7799..ab2d729 100644 --- a/Project-Unite/Controllers/DeveloperController.cs +++ b/Project-Unite/Controllers/DeveloperController.cs @@ -143,13 +143,15 @@ public ActionResult AddRelease(PostDownloadViewModel model) model.Screenshot.SaveAs(mapped_dir); } + string downloadIsStable = (download.IsStable) ? "Yes" : "No"; + //Now we just save to the database... db.Downloads.Add(download); NotificationDaemon.ScreamToDiscord("New release: " + download.Name, $@"A new release of ShiftOS has been made! Release name: {download.Name} -Stable: {download.IsStable} +Stable: {downloadIsStable} Released on: {download.PostDate}", Url.Action("ViewRelease", "Downloads", new { id = download.Id })); db.SaveChanges();