Added oauth for gitea
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"CatsOfMastodonBotGo/internal/auth"
|
||||
"CatsOfMastodonBotGo/internal/config"
|
||||
"CatsOfMastodonBotGo/internal/database"
|
||||
"CatsOfMastodonBotGo/internal/domain"
|
||||
@@ -24,6 +25,8 @@ 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