Skip to content

Commit 2383e48

Browse files
committed
missed a TargetAmount
1 parent 5a4ff2f commit 2383e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mock_api/endpoints/charity/donations.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func getCharityDonations(w http.ResponseWriter, r *http.Request) {
102102
UserID: userCtx.UserID,
103103
UserName: user.DisplayName,
104104
UserLogin: user.UserLogin,
105-
Amount: CharityAmount{
105+
TargetAmount: CharityAmount{
106106
Value: rand.Intn(150000-300) + 300, // Between $3 and $1,500
107107
DecimalPlaces: 2,
108108
Currency: "USD",

0 commit comments

Comments
 (0)