Skip to content

Commit

Permalink
chore: revert
Browse files Browse the repository at this point in the history
  • Loading branch information
w-h-a committed Aug 28, 2024
1 parent 5a7c2e8 commit a80d6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidecar/custom/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (s *customSidecar) RemoveStateFromStore(storeId, key string) error {
func (s *customSidecar) OnEventPublished(event *sidecar.Event) error {
var err error

if len(event.To) == 0 {
if len(event.To) > 0 {
err = s.actOnEventFromApp(event)
} else {
err = s.postEventToApp(event)
Expand Down

0 comments on commit a80d6e7

Please sign in to comment.