diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 88bc138d59..ee85e2265d 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -47,6 +47,7 @@ package routes import ( + "code.vikunja.io/api/pkg/modules/migration/ticktick" "errors" "fmt" "net/url" @@ -655,12 +656,21 @@ func registerMigrations(m *echo.Group) { microsoftTodoMigrationHandler.RegisterRoutes(m) } + // Vikunja File Migrator vikunjaFileMigrationHandler := &migrationHandler.FileMigratorWeb{ MigrationStruct: func() migration.FileMigrator { return &vikunja_file.FileMigrator{} }, } vikunjaFileMigrationHandler.RegisterRoutes(m) + + // TickTick File Migrator + tickTickFileMigrator := migrationHandler.FileMigratorWeb{ + MigrationStruct: func() migration.FileMigrator { + return &ticktick.Migrator{} + }, + } + tickTickFileMigrator.RegisterRoutes(m) } func registerCalDavRoutes(c *echo.Group) {