JairoDanielMT commited on
Commit
5fb7a87
1 Parent(s): 4424be5

Update routers/detalle_pedidos.py

Browse files
Files changed (1) hide show
  1. routers/detalle_pedidos.py +1 -1
routers/detalle_pedidos.py CHANGED
@@ -36,7 +36,7 @@ def get_detalle_pedidos():
36
 
37
 
38
  # post/detalle_pedidos -> crear un detalle_pedido con with connection as conn, manejo de errores
39
- # @router.post("/")
40
  def post_detalle_pedido(detalle_pedido: DetallePedidos):
41
  try:
42
  with DatabaseConnection().get_connection() as conn:
 
36
 
37
 
38
  # post/detalle_pedidos -> crear un detalle_pedido con with connection as conn, manejo de errores
39
+ @router.post("/")
40
  def post_detalle_pedido(detalle_pedido: DetallePedidos):
41
  try:
42
  with DatabaseConnection().get_connection() as conn: