Ver código fonte

исправление бага с созданием событий

WoI 1 mês atrás
pai
commit
e066f0ec82
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      OnlineMetodist.API/Controllers/EventsController.cs

+ 1 - 1
OnlineMetodist.API/Controllers/EventsController.cs

@@ -457,7 +457,7 @@ namespace OnlineMetodist.API.Controllers
 
 			try
 			{
-				FormOfWork form = await _context.FormsOfWorks.FirstAsync(x => x.Name == "Стажировка");
+				FormOfWork form = await _context.FormsOfWorks.FirstAsync(x => x.Name == "Публикация");
 				ApplicationUser applicationUser = await _userManager.Users
 					.Include(x => x.Employee)
 					.FirstAsync(x => x.UserName == User.Identity.Name);