Removed unused logging

This commit is contained in:
2025-09-22 13:38:33 +03:30
parent ec423700fc
commit 1a2baa2c6a
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ COPY internal /app/internal/
RUN CGO_ENABLED=1 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go
# Deploy the application binary into a lean image
# TODO: Move to alpine
FROM gcr.io/distroless/base-debian12 AS build-release-stage
WORKDIR /

View File

@@ -47,7 +47,7 @@ func (g *GiteaOAuth2Handler) GetGiteaUserEmailByCode(code string) (string, error
}
userInfoUrl := g.cfg.GiteaOauthInstance + "/login/oauth/userinfo"
g.logger.Info(userInfoUrl)
req, err := http.NewRequest("POST", userInfoUrl, nil)
if err != nil {
return "", err