Added Gitea oauth to the admin dashboard and finished the oauth handling
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user