fix typo
This commit is contained in:
parent
2b3068fcd0
commit
f42a74531a
@ -42,6 +42,6 @@ func (r *Transition) Subscribe(s Subscriber) {
|
||||
|
||||
func (r *Transition) Notify(on Eventtype, source State, dest State) {
|
||||
for _, s := range r.subscriptions {
|
||||
s.Notify(&EventMessage{On: On, Source: Source, Dest: Dest})
|
||||
s.Notify(&EventMessage{On: on, Source: source, Dest: dest})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user