mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-08 06:38:59 +00:00
add some context for output to potentially use later
This commit is contained in:
@@ -59,9 +59,9 @@ func (r *Route) HandleInput(sourceId string, payload any) error {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
return r.HandleOutput(payload)
|
||||
return r.HandleOutput(sourceId, payload)
|
||||
}
|
||||
|
||||
func (r *Route) HandleOutput(payload any) error {
|
||||
return r.router.HandleOutput(r.Output, payload)
|
||||
func (r *Route) HandleOutput(sourceId string, payload any) error {
|
||||
return r.router.HandleOutput(sourceId, r.Output, payload)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user