feat: include Francis data in Pocket ID backups

Part of #1549

Data is exported in the portable format Francis uses
This commit is contained in:
ItalyPaleAle
2026-08-03 21:39:11 -07:00
parent 5d43c4aaeb
commit eeaf77aaf9
12 changed files with 522 additions and 58 deletions
-6
View File
@@ -92,12 +92,6 @@ func Bootstrap(ctx context.Context) error {
DB: db,
FileStorage: fileStorage,
}
if pg == nil {
actorsOpts.SQLite, err = db.DB()
if err != nil {
return fmt.Errorf("failed to get *sql.DB connection from Gorm: %w", err)
}
}
actors, rateLimitServices, err := NewActors(actorsOpts)
if err != nil {
return fmt.Errorf("failed to initialize actors: %w", err)