Skip to content

Commit

Permalink
missed a TargetAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryCarlyon committed Sep 18, 2023
1 parent 5a4ff2f commit 2383e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mock_api/endpoints/charity/donations.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func getCharityDonations(w http.ResponseWriter, r *http.Request) {
UserID: userCtx.UserID,
UserName: user.DisplayName,
UserLogin: user.UserLogin,
Amount: CharityAmount{
TargetAmount: CharityAmount{
Value: rand.Intn(150000-300) + 300, // Between $3 and $1,500
DecimalPlaces: 2,
Currency: "USD",
Expand Down

0 comments on commit 2383e48

Please sign in to comment.