mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-09-29 14:29:04 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user