fix(migration): expose ticktick migrator to /info
This commit is contained in:
parent
5e40f4ec89
commit
0d044997df
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"code.vikunja.io/api/pkg/modules/migration/ticktick"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
vikunja_file "code.vikunja.io/api/pkg/modules/migration/vikunja-file"
|
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(),
|
TaskCommentsEnabled: config.ServiceEnableTaskComments.GetBool(),
|
||||||
AvailableMigrators: []string{
|
AvailableMigrators: []string{
|
||||||
(&vikunja_file.FileMigrator{}).Name(),
|
(&vikunja_file.FileMigrator{}).Name(),
|
||||||
|
(&ticktick.Migrator{}).Name(),
|
||||||
},
|
},
|
||||||
Legal: legalInfo{
|
Legal: legalInfo{
|
||||||
ImprintURL: config.LegalImprintURL.GetString(),
|
ImprintURL: config.LegalImprintURL.GetString(),
|
||||||
|
|
Loading…
Reference in a new issue