IsaacCheng9 / fairsplit

A web application to split bills and track shared expenses in a group, with a transaction minimisation algorithm. Developed with Node and React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix lender and borrower fields incorrectly being flipped when sending API calls

IsaacCheng9 opened this issue · comments

Specification

  • The lender and borrower fields are incorrectly flipped.
  • For example, in the following scenario, the expense created is a debt from user2 to user1, when it should be from user1 to user2.

image