Mistake in error message
This commit is contained in:
1 parent
2694701337
commit
caa8b76c88
1 file changed
+1
-1
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user