Skip to content

Commit d63e939

Browse files
committed
change customer helper method to type rather than account_type for payable account
1 parent 5961ca1 commit d63e939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

balanced/resources.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def create_order(self, **kwargs):
507507

508508
@property
509509
def payable_account(self):
510-
return self.accounts.filter(account_type="payable").first()
510+
return self.accounts.filter(type="payable").first()
511511

512512

513513
class Order(Resource):

0 commit comments

Comments
 (0)