webhook type -> event

This commit is contained in:
David Zhao
2021-08-09 23:37:01 -07:00
parent 9495646f1a
commit 6fe0d4bafc
5 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func (s *webookTestServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
s.lock.Lock()
s.events[event.Type] = &event
s.events[event.Event] = &event
s.lock.Unlock()
}