diff --git a/pkg/modules/migration/ticktick/ticktick.go b/pkg/modules/migration/ticktick/ticktick.go index 861408d77..6e49e6ae9 100644 --- a/pkg/modules/migration/ticktick/ticktick.go +++ b/pkg/modules/migration/ticktick/ticktick.go @@ -177,7 +177,7 @@ func newLineSkipDecoder(r io.Reader, linesToSkip int) gocsv.SimpleDecoder { // @Summary Import all projects, tasks etc. from a TickTick backup export // @Description Imports all projects, tasks, notes, reminders, subtasks and files from a TickTick backup export into Vikunja. // @tags migration -// @Accept json +// @Accept x-www-form-urlencoded // @Produce json // @Security JWTKeyAuth // @Param import formData string true "The TickTick backup csv file." diff --git a/pkg/modules/migration/vikunja-file/vikunja.go b/pkg/modules/migration/vikunja-file/vikunja.go index 851b9e74a..ac810c953 100644 --- a/pkg/modules/migration/vikunja-file/vikunja.go +++ b/pkg/modules/migration/vikunja-file/vikunja.go @@ -54,7 +54,7 @@ func (v *FileMigrator) Name() string { // @Summary Import all projects, tasks etc. from a Vikunja data export // @Description Imports all projects, tasks, notes, reminders, subtasks and files from a Vikunjda data export into Vikunja. // @tags migration -// @Accept json +// @Accept x-www-form-urlencoded // @Produce json // @Security JWTKeyAuth // @Param import formData string true "The Vikunja export zip file."