diff --git a/internal/AppContext.go b/internal/AppContext.go deleted file mode 100644 index 1fadb99..0000000 --- a/internal/AppContext.go +++ /dev/null @@ -1,18 +0,0 @@ -package internal - -import ( - "CatsOfMastodonBotGo/internal/auth" - "CatsOfMastodonBotGo/internal/services" - - "gorm.io/gorm" -) - - -type AppContext struct { - Db *gorm.DB - PostService *services.PostService - Jwt *auth.JwtTokenGenerator - AdminPassword string - Instance string - Tag string -} \ No newline at end of file diff --git a/internal/config/config.go b/internal/config/config.go index 92957fd..3832108 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -42,7 +42,7 @@ func Load() *config { // Jwt params secret := os.Getenv("CAOM_JWT_SECRET") if secret == "" { - log.Fatal("No jwt secret provided, using default secret 'secret'") + log.Fatal("No jwt secret provided") } issuer := os.Getenv("CAOM_JWT_ISSUER") if issuer == "" {