add github webhook support

This commit is contained in:
Zomatree
2022-11-27 06:52:44 +00:00
parent 5cb2320760
commit c826d8cf07
3 changed files with 78 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ mod webhook_delete;
mod webhook_edit;
mod webhook_execute;
mod webhook_fetch;
mod webhook_execute_github;
pub fn routes() -> (Vec<Route>, OpenApi) {
openapi_get_routes_spec![
@@ -12,5 +13,6 @@ pub fn routes() -> (Vec<Route>, OpenApi) {
webhook_edit::req,
webhook_execute::req,
webhook_fetch::req,
webhook_execute_github::req
]
}