fix(log): removing access token logging

This commit is contained in:
2025-04-12 07:46:07 +01:00
parent 70d4411270
commit df028aaedb

View File

@ -2,7 +2,6 @@ package main
import (
"context"
"fmt"
"net/http"
)
@ -26,7 +25,6 @@ func ProtectedRoute(next http.Handler) http.Handler {
return
}
fmt.Println(token[len("Bearer "):])
userId, err := GetUserIdFromAccess(token[len("Bearer "):])
if err != nil {
w.WriteHeader(http.StatusUnauthorized)