diff --git a/endpoints/products.post.py b/endpoints/products.post.py index c52149b..6088469 100644 --- a/endpoints/products.post.py +++ b/endpoints/products.post.py @@ -13,5 +13,4 @@ async def add_product( db: Session = Depends(get_db) ): """Create a new product""" - new_product = create_product(db, product) - return new_product \ No newline at end of file + return create_product(db=db, product=product) \ No newline at end of file