Skip to content

Commit

Permalink
fix: API Response
Browse files Browse the repository at this point in the history
  • Loading branch information
WhatACotton committed Jun 3, 2024
1 parent 5dd1a14 commit cc6350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/stripe.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (h *Handler) SetupRoutesForStripe(firebaseApp validation.IFirebaseApp, User
utils.ReturnErrorResponse(ctx, err)
return
}
ctx.JSON(http.StatusOK, gin.H{"redirect_url": url})
ctx.JSON(http.StatusOK, gin.H{"clientSecret": url})

})
StripeRouter.GET("/transaction", func(ctx *gin.Context) {
Expand Down

0 comments on commit cc6350b

Please sign in to comment.