Add todo
This commit is contained in:
parent
269efed6ce
commit
ae3dfdd17f
|
|
@ -26,6 +26,7 @@ class Coupon(relay.ClientIDMutation):
|
|||
raise Exception('not_authenticated')
|
||||
|
||||
try:
|
||||
# todo: differenciate between invalid_coupon and other errors like "delivery_address_not_set"
|
||||
response = hep_client.redeem_coupon(coupon_code, hep_id, request=info.context)
|
||||
except HepClientException:
|
||||
raise Exception('unknown_error')
|
||||
|
|
|
|||
Loading…
Reference in New Issue