Skip to content

Commit

Permalink
fix publish_event endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
aki-mizu committed Apr 9, 2024
1 parent ce2c63e commit 32d745e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async fn main() -> Result<()> {

let app = Router::new()
.route("/ping", get(handler::ping))
.route("/publish_event", post(handler::publish_event))
.route("/event", post(handler::publish_event))
.route("/events", post(handler::get_events))
.layer(if config.network.permissive_cors {
CorsLayer::permissive()
Expand Down

0 comments on commit 32d745e

Please sign in to comment.