You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this commit, I've added api and sql constraints on some of the fields in the property model and the offers model to make sure we don't create a property
with an expected_price less than zero and users don't submit an offer with a price less than zero as well, and added business logic to not accept multiple offers
on the same property at the same time and not to submit an offer on a property that is already sold.
0 commit comments