Skip to content
Snippets Groups Projects
Commit 3a317d44 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

docstring

parent dc8a0ec1
No related branches found
No related tags found
1 merge request!24Put ZKAPs into and take ZKAPs out of a database
...@@ -177,4 +177,8 @@ class PaymentController(object): ...@@ -177,4 +177,8 @@ class PaymentController(object):
) )
def _redeemSuccess(self, voucher, passes): def _redeemSuccess(self, voucher, passes):
"""
Update the database state to reflect that a voucher was redeemed and to
store the resulting passes.
"""
self.store.insert_passes_for_voucher(voucher, passes) self.store.insert_passes_for_voucher(voucher, passes)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment