Skip to content

Commit 955b178

Browse files
committed
fix: typo in oatpp chain HTTP endpoint
1 parent 31837ec commit 955b178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/controller.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class DedeController : public oatpp::web::server::api::ApiController
202202
{
203203
info->summary = "Run a chain";
204204
}
205-
ENDPOINT("POST", "chains/{chain-name}", create_chain,
205+
ENDPOINT("POST", "chain/{chain-name}", create_chain,
206206
PATH(oatpp::String, chain_name, "chain-name"),
207207
BODY_STRING(oatpp::String, chain_data))
208208
{

0 commit comments

Comments
 (0)