update
This commit is contained in:
@@ -36,7 +36,8 @@ func NewMenuService(
|
||||
}
|
||||
|
||||
func (s *menuService) Create(ctx context.Context, req *system.Menu) error {
|
||||
return s.repo.Create(ctx, req)
|
||||
_, err := s.repo.Create(ctx, req)
|
||||
return err
|
||||
}
|
||||
|
||||
func (s *menuService) Update(ctx context.Context, req *system.Menu) error {
|
||||
|
||||
Reference in New Issue
Block a user