JairoDanielMT commited on
Commit
57ac0f2
1 Parent(s): 5fb7a87

Update routers/detalle_ventas.py

Browse files
Files changed (1) hide show
  1. routers/detalle_ventas.py +1 -1
routers/detalle_ventas.py CHANGED
@@ -33,7 +33,7 @@ def get_detalle_ventas():
33
 
34
 
35
  # post/detalle_ventas -> crear un detalle_venta con with connection as conn, manejo de errores
36
- # @router.post("/")
37
  def post_detalle_venta(detalle_venta: DetalleVentas):
38
  try:
39
  with DatabaseConnection().get_connection() as conn:
 
33
 
34
 
35
  # post/detalle_ventas -> crear un detalle_venta con with connection as conn, manejo de errores
36
+ @router.post("/")
37
  def post_detalle_venta(detalle_venta: DetalleVentas):
38
  try:
39
  with DatabaseConnection().get_connection() as conn: