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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

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(),