Added Gitea oauth to the admin dashboard and finished the oauth handling

This commit is contained in:
2025-09-15 22:24:12 +03:30
parent a84156f0a0
commit d4044b0eaf
11 changed files with 228 additions and 230 deletions

View File

@@ -1,7 +1,6 @@
package main
import (
"CatsOfMastodonBotGo/internal/auth"
"CatsOfMastodonBotGo/internal/config"
"CatsOfMastodonBotGo/internal/database"
"CatsOfMastodonBotGo/internal/domain"
@@ -25,8 +24,6 @@ func main() {
// Not needed but anyways
services.InitImgKitHelper()
auth.InitGiteaOauth2Token()
ticker := time.NewTicker(10 * time.Minute)
runFetchPosts := func() {