chore: migrate to gitea
Some checks failed
golangci-lint / lint (push) Failing after 21s
Test / test (push) Failing after 2m17s

This commit is contained in:
2026-01-27 01:40:31 +01:00
parent a9bca767a9
commit 1a27ed5274
3163 changed files with 1216358 additions and 1529 deletions

View File

@@ -2,7 +2,6 @@ package middleware
import (
"fmt"
"net/http"
"strings"
"gitea.frenchtouch.duckdns.org/kratisto/budget-backend/internal/storage/model"
@@ -20,7 +19,7 @@ func ValidateOAuthToken(c *gin.Context) {
return
}
oauth2Service, err := oauth2.New(&http.Client{})
oauth2Service, err := oauth2.NewService(c)
if oauth2Service == nil {
fmt.Println(err)
utils.JSONError(c.Writer, model.ErrInternalServer)