Skip to content

Commit

Permalink
Update router.go
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Guardiani <[email protected]>
  • Loading branch information
jackkleeman and slinkydeveloper authored Nov 7, 2024
1 parent 5bc87ce commit 1a4815b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func NewWorkflow(name string, opts ...options.ServiceDefinitionOption) *workflow
}
}

// Handler registers a new Virtual Object handler by name
// Handler registers a new Workflow handler by name
func (r *workflow) Handler(name string, handler state.Handler) *workflow {
if handler.GetOptions().Codec == nil {
handler.GetOptions().Codec = r.options.DefaultCodec
Expand Down

0 comments on commit 1a4815b

Please sign in to comment.