Skip to content

Commit

Permalink
feat : changed Query to Param in deleteprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
surajhub255 committed Aug 28, 2024
1 parent b045fa9 commit db1bc9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/profile_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func DeleteProfile(c *gin.Context) {
}

func DeleteProfileByWalletAndEmail(c *gin.Context) {
walletAddress := c.Query("walletAddress")
email := c.Query("email")
walletAddress := c.Param("walletAddress")
email := c.Param("email")

// Check if both walletAddress and email are provided
if walletAddress == "" || email == "" {
Expand Down

0 comments on commit db1bc9b

Please sign in to comment.