rename handler functions

This commit is contained in:
Lakhan Samani
2021-07-23 14:25:32 +05:30
parent 8a4c3c3b74
commit af1121c07e
5 changed files with 8 additions and 10 deletions

View File

@@ -13,8 +13,7 @@ import (
"github.com/yauthdev/yauth/server/utils"
)
// Defining the Graphql handler
func VerifyEmail() gin.HandlerFunc {
func VerifyEmailHandler() gin.HandlerFunc {
return func(c *gin.Context) {
errorRes := gin.H{
"message": "invalid token",