Skip to content

Commit

Permalink
Merge branch 'master' of github.com:paymill/paymill-python
Browse files Browse the repository at this point in the history
  • Loading branch information
l0ck3 committed Jun 4, 2015
2 parents 326d9a4 + 4760f16 commit 5afaa84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paymill/models/offer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def by_name(cls, name):
:param str name: the payment id to filter by
:return: Filter object
"""
return Filter('payment', values=(name,), operator=Filter.OPERATOR['EQUAL'])
return Filter('name', values=(name,), operator=Filter.OPERATOR['EQUAL'])

@classmethod
def by_trial_period_days(cls, trial_period_days):
Expand Down

0 comments on commit 5afaa84

Please sign in to comment.