Skip to content

Commit 89f52b1

Browse files
committed
Fix typo
1 parent 275cc30 commit 89f52b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gen/template_webook_event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func (g *EventHandler) HandleEventRequest(req *http.Request) error {
245245
}
246246
event, err := github.ParseWebHook(github.WebHookType(req), payload)
247247
if err != nil {
248-
return nfmt.Errorf("could not parse webhook: err=%s\n", err)
248+
return fmt.Errorf("could not parse webhook: err=%s\n", err)
249249
}
250250
251251
deliveryID := github.DeliveryID(req)

githubevents/events.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ func (g *EventHandler) HandleEventRequest(req *http.Request) error {
290290
}
291291
event, err := github.ParseWebHook(github.WebHookType(req), payload)
292292
if err != nil {
293-
return nfmt.Errorf("could not parse webhook: err=%s\n", err)
293+
return fmt.Errorf("could not parse webhook: err=%s\n", err)
294294
}
295295

296296
deliveryID := github.DeliveryID(req)

0 commit comments

Comments
 (0)