Skip to content

Commit

Permalink
PingAction is now post action
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Nov 13, 2024
1 parent 22e4eb0 commit 92eedc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/controllers/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub fn build(app: &Arc<AppContext>) -> ControllersMiddleware {
let mut result = ControllersMiddleware::new(None, None);

result.register_get_action(Arc::new(super::api::IsAliveAction));
result.register_get_action(Arc::new(super::api::PingAction::new(app.clone())));
result.register_post_action(Arc::new(super::api::PingAction::new(app.clone())));

result.register_get_action(Arc::new(super::tables_controller::GetListAction::new(
app.clone(),
Expand Down

0 comments on commit 92eedc7

Please sign in to comment.