1
0

Fix inserting task structure with related tasks (#142)

Fix typo

Fix creating related tasks

Add better logging

Fix inserting task structure with related tasks

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/142
This commit is contained in:
konrad
2020-02-18 22:00:54 +00:00
parent f87bb6d8ef
commit 5901cf64b4
4 changed files with 157 additions and 4 deletions

View File

@ -459,11 +459,14 @@ func (w *Migration) Migrate(user *user.User) (err error) {
log.Debugf("[Wunderlist migration] Insert data into db for user %d", user.ID)
err = migration.InsertFromStructure(fullVikunjaHierachie, user)
if err != nil {
return err
}
log.Debugf("[Wunderlist migration] Done inserting data into db for user %d", user.ID)
log.Debugf("[Wunderlist migration] Wunderlist migration for user %d done", user.ID)
return err
return nil
}
// AuthURL returns the url users need to authenticate against