debug
parent
8bbedaffde
commit
c8e01bf51e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue