Skip to content

Commit 49809cf

Browse files
committed
refactor(pages): minro bugs
1 parent c1f63f2 commit 49809cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ func main() {
6767
management.Lock()
6868
defer management.Unlock()
6969

70-
if event.Kind != 10002 || event.Kind != 0 ||
71-
event.Kind != 3 || event.Kind != 5 || event.Kind != 1984 || event.Kind != 10063 {
70+
if event.Kind != 10002 && event.Kind != 0 &&
71+
event.Kind != 3 && event.Kind != 5 && event.Kind != 1984 && event.Kind != 10063 {
7272
return true, "blocked: we only accept kinds: 0, 3, 5, 1984, 10002, 10063"
7373
}
7474

0 commit comments

Comments
 (0)