Skip to content

Commit

Permalink
Improve the TODO message about why we pass message_id as None when cr…
Browse files Browse the repository at this point in the history
…eating an opt out.
  • Loading branch information
hodgestar committed Oct 30, 2015
1 parent 5dd1bb7 commit 4c50c28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion go_optouts/store/riak.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ def get(self, addresstype, address):
def put(self, addresstype, address):
opt_out = yield self.store.new_opt_out(
addresstype, address, message={
'message_id': None, # TODO: fix opt out store
# TODO: Fix the Vumi Go opt out store to allow descriptions
# of why an address was opted out. Currently the only
# description allowed is a Vumi message id. :|
'message_id': None,
})
returnValue(self._opt_out_to_dict(opt_out))

Expand Down

0 comments on commit 4c50c28

Please sign in to comment.