Devansh-Baghel/SpendSync

Can't delete goal when current saved amount it zero

Closed this issue · 1 comments

Deleting a goal gives 400 bad req error when the current saved amount is zero because of a check in the delete-goal controller

repro: make a new goal > make sure to not enter any money in it > try deleting that goal

fixed