Skip to content

Commit

Permalink
#92 - fixed balance_url composition for api
Browse files Browse the repository at this point in the history
  • Loading branch information
jbc25 committed May 22, 2024
1 parent c49b932 commit de85d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion market/models/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Meta:

@property
def balance_url(self):
return settings.BASESITE_URL + "/balance/" + self.member_id if self.member_id and self.balance_detail else None
return f"{settings.BASESITE_URL}/{self.node.id}/balance/{self.member_id}" if self.member_id and self.balance_detail else None

@property
def display_name(self):
Expand Down

0 comments on commit de85d50

Please sign in to comment.