admin 1 rok pred
rodič
commit
5f0f36f20d

+ 1 - 0
src/Hotline.Api/Controllers/HomeController.cs

@@ -116,6 +116,7 @@ public class HomeController : BaseController
             if (model is null)
             {
                 var fastmenu = _mapper.Map<UserFastMenu>(dto);
+                fastmenu.UserId = userId;
                 await _userFastMenuRepository.AddAsync(fastmenu);
             }
             else