Explorar el Código

forage: async data

Yi hace 1 año
padre
commit
d03b0433e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      module/backend/pasture_sync_service.go

+ 1 - 1
module/backend/pasture_sync_service.go

@@ -267,7 +267,7 @@ func (s *StoreEntry) FeedInsert(ctx context.Context, groupPasture *model.GroupPa
 			IsDelete:           operationPb.IsShow_OK,
 		})
 	}
-	if err := s.DB.Model(new(model.FeedFormula)).Create(res).Error; err != nil {
+	if err := s.DB.Model(new(model.Forage)).Create(res).Error; err != nil {
 		return xerr.WithStack(err)
 	}
 	return nil