Skip to content

Commit

Permalink
feat: re-add handle webhook feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Jul 6, 2024
1 parent bf487d6 commit b42c5e2
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 289 deletions.
288 changes: 0 additions & 288 deletions server/src/github_webhooks.rs

This file was deleted.

1 change: 0 additions & 1 deletion server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ pub mod api;
pub mod bot;
pub mod formatter;
pub mod github;
pub mod github_webhooks;
pub mod models;
pub mod recycler;
pub mod routes;
Expand Down
2 changes: 2 additions & 0 deletions server/src/routes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ pub mod job;
pub mod pipeline;
pub mod websocket;
pub mod worker;
pub mod webhook;

pub use job::*;
pub use pipeline::*;
pub use websocket::*;
pub use worker::*;
pub use webhook::*;

pub async fn ping() -> &'static str {
"PONG"
Expand Down
Loading

0 comments on commit b42c5e2

Please sign in to comment.