Skip to content

Commit

Permalink
targetEventとhostEventの交換
Browse files Browse the repository at this point in the history
  • Loading branch information
Luftalian committed Jun 15, 2024
1 parent 9a98c88 commit 3275acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/handler/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func removeEventHostFromTarget(hostEvent, targetEvent []model.Event) []model.Eve
for i := 0; i < len(targetEvent); i++ {
check := false
for j := 0; j < len(hostEvent); j++ {
if hostEvent[i].ID == targetEvent[j].ID {
if targetEvent[i].ID == hostEvent[j].ID {
check = true
break
}
Expand Down

0 comments on commit 3275acb

Please sign in to comment.