Fix bug: access wrong key
This commit is contained in:
parent
6c2183a6c8
commit
5e4b105b97
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class ListProducts(Resource):
|
|||
product_id = p.key[p.key.rindex("/")+1:]
|
||||
actual_product = {
|
||||
"name": p_json["name"],
|
||||
"description": p_json["product_description"],
|
||||
"description": p_json["description"],
|
||||
"product_id": product_id,
|
||||
"pricing": get_pricing(p_json["price"], p_json["type"],
|
||||
p_json["recurring_duration"]),
|
||||
|
|
Loading…
Reference in a new issue