Merge pull request #27 from rowbawts/dev

Remove unused code
This commit is contained in:
Sebastian Cabrera 2023-08-28 21:29:08 -04:00 committed by GitHub
commit 8c23402432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ func listenForWebhook() {
http.HandleFunc("/", webHandle)
http.HandleFunc("/webhook", webhookHandler)
err := http.ListenAndServe(":3333", nil)
err := http.ListenAndServe(":433", nil)
if err != nil {
panic(err)
}
@ -49,8 +49,6 @@ func webhookHandler(w http.ResponseWriter, r *http.Request) {
panic(err)
}
w.WriteHeader(200)
switch event := event.(type) {
case *github.IssuesEvent:
processIssuesEvent(event)