Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SpaceDapp: use getJoinSpacePrice as membershipPrice in getMembershipI…
…nfo (#585) The getMembershipPrice always returns the current price of the membership, regardless of prepaid seats. However, if a space has any prepaid seats left, a user won't be charged this price. When grabbing this price via getMembershipInfo, I think it makes more sense to return the price considering prepaid seats. Easier to reason about at the UI level - a user sees 0, they'll pay 0. Alternatively I can just call getJoinSpacePrice where appropriate for UI.
- Loading branch information