Skip to content

Commit 5afaa84

Browse files
committed
Merge branch 'master' of github.com:paymill/paymill-python
2 parents 326d9a4 + 4760f16 commit 5afaa84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paymill/models/offer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def by_name(cls, name):
8383
:param str name: the payment id to filter by
8484
:return: Filter object
8585
"""
86-
return Filter('payment', values=(name,), operator=Filter.OPERATOR['EQUAL'])
86+
return Filter('name', values=(name,), operator=Filter.OPERATOR['EQUAL'])
8787

8888
@classmethod
8989
def by_trial_period_days(cls, trial_period_days):

0 commit comments

Comments
 (0)