Skip to content

Commit ada7aa2

Browse files
authored
25-1-1: Fix method check in schemeshard actions (#17737)
1 parent b6b9d9b commit ada7aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/schemeshard/schemeshard__monitoring.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ struct TSchemeShard::TTxMonitoring : public NTabletFlatExecutor::TTransactionBas
14731473

14741474
private:
14751475
void HandleAction(const TString& action, const TCgiParameters& cgi, const TActorContext& ctx) {
1476-
if (Ev->Get()->Method != HTTP_METHOD_POST) {
1476+
if (Ev->Get()->GetMethod() != HTTP_METHOD_POST) {
14771477
SendBadRequest("Action requires a POST method", ctx);
14781478
return;
14791479
}

0 commit comments

Comments
 (0)