Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: re-add handle webhook feature #12

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,18 +22,20 @@
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"
}

pub struct Viewer {
remote_addr: RemoteAddr,

Check warning on line 38 in server/src/routes/mod.rs

View workflow job for this annotation

GitHub Actions / build

field `remote_addr` is never read

Check warning on line 38 in server/src/routes/mod.rs

View workflow job for this annotation

GitHub Actions / build

field `remote_addr` is never read
sender: UnboundedSender<axum::extract::ws::Message>,
}

Expand Down
Loading