fix(migration): expose ticktick migrator to /info

This commit is contained in:
kolaente 2022-10-09 19:04:41 +02:00
parent 5e40f4ec89
commit 0d044997df
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
package v1
import (
"code.vikunja.io/api/pkg/modules/migration/ticktick"
"net/http"
vikunja_file "code.vikunja.io/api/pkg/modules/migration/vikunja-file"
@ -97,6 +98,7 @@ func Info(c echo.Context) error {
TaskCommentsEnabled: config.ServiceEnableTaskComments.GetBool(),
AvailableMigrators: []string{
(&vikunja_file.FileMigrator{}).Name(),
(&ticktick.Migrator{}).Name(),
},
Legal: legalInfo{
ImprintURL: config.LegalImprintURL.GetString(),