main
Nilo Roberto C Paim 2024-05-29 17:06:53 -03:00
parent 8bbedaffde
commit c8e01bf51e
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import (
"api/database"
"api/models"
"api/utils"
"fmt"
"log"
"strconv"
"strings"
@ -195,7 +194,7 @@ func Checkuser(c *fiber.Ctx) error {
// Check if user exists
database.DB.Where("email = ?", email).First(&user)
fmt.Printf("User Channel: [%s]\n", user.Channel)
log.Printf("User Channel: [%s]\n", user.Channel)
if user.ID == 0 {
// The user is not found; let's check if it's a test user