feat(migration): register WeKan migration routes

This commit is contained in:
kolaente 2026-04-07 13:58:10 +02:00 committed by kolaente
parent 56ce73738d
commit 64aa7a9e75
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,7 @@ import (
"code.vikunja.io/api/pkg/modules/migration/todoist"
"code.vikunja.io/api/pkg/modules/migration/trello"
vikunja_file "code.vikunja.io/api/pkg/modules/migration/vikunja-file"
"code.vikunja.io/api/pkg/modules/migration/wekan"
"code.vikunja.io/api/pkg/plugins"
apiv1 "code.vikunja.io/api/pkg/routes/api/v1"
"code.vikunja.io/api/pkg/routes/caldav"
@ -852,6 +853,14 @@ func registerMigrations(m *echo.Group) {
},
}
tickTickFileMigrator.RegisterRoutes(m)
// WeKan File Migrator
wekanFileMigrator := migrationHandler.FileMigratorWeb{
MigrationStruct: func() migration.FileMigrator {
return &wekan.Migrator{}
},
}
wekanFileMigrator.RegisterRoutes(m)
}
func registerCalDavRoutes(c *echo.Group) {