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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user