Skip to content

Commit 34677ed

Browse files
Merge pull request #1375 from rylev/push-not-pushes
The event is 'push' not 'pushes'
2 parents 8e57bd3 + 4e90412 commit 34677ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ async fn serve_req(server: Server, req: Request) -> Result<Response, ServerError
464464
}
465465
};
466466
match event.as_str() {
467-
"issue_comment" | "pushes" => Ok(to_response(
467+
"issue_comment" | "push" => Ok(to_response(
468468
request_handlers::handle_github(check!(parse_body(&body)), ctxt.clone()).await,
469469
&compression,
470470
)),

0 commit comments

Comments
 (0)