More work on events, still have to convert pascal case event type name to rabbitmq dot notation, but after that should be done

This commit is contained in:
Torkel Ödegaard
2015-02-04 17:15:05 +01:00
parent 525179eb85
commit d8db5189c1
6 changed files with 48 additions and 47 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ func UpdateAccount(cmd *m.UpdateAccountCommand) error {
return err
}
sess.publishAfterCommit(events.AccountUpdated{
sess.publishAfterCommit(&events.AccountUpdated{
Timestamp: account.Updated,
Id: account.Id,
Name: account.Name,