Mistake in error message
This commit is contained in:
parent
2694701337
commit
caa8b76c88
@ -33,7 +33,7 @@ class ProductService:
|
|||||||
return result_obj, 200
|
return result_obj, 200
|
||||||
|
|
||||||
except Error as e:
|
except Error as e:
|
||||||
return {"Failed": f"Failed to load cart. Reason: {e}"}, 400
|
return {"Failed": f"Failed to fetch products. Reason: {e}"}, 400
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_name(product_id: int):
|
def get_name(product_id: int):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user