rename handler functions

This commit is contained in:
Lakhan Samani
2021-07-23 14:25:32 +05:30
parent 58b0dced7a
commit aa6c22348e
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",