1
0

fix(migration): show correct message after starting a migration

Related to https://github.com/go-vikunja/vikunja/issues/238
This commit is contained in:
kolaente
2024-04-07 15:11:59 +02:00
parent 7acd1a7e51
commit 0b9ef27d04
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ func (s *MigrationListener) Handle(msg *message.Message) (err error) {
mstr := registeredMigrators[event.MigratorKind]
event.Migrator = mstr.MigrationStruct()
// unmarshaling again to make sure the migrator has the correct type now
// unmarshalling again to make sure the migrator has the correct type now
err = json.Unmarshal(msg.Payload, event)
if err != nil {
return