fix: routes api function cause

This commit is contained in:
DDDHuang 2021-07-20 13:56:20 +08:00
parent 98c7f9edb2
commit 2d4d7b2923
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ route_api() ->
<<"200">> => <<"200">> =>
emqx_mgmt_util:response_schema(<<"Route info">>, <<"route">>), emqx_mgmt_util:response_schema(<<"Route info">>, <<"route">>),
<<"404">> => <<"404">> =>
emqx_mgmt_util:not_found_schema(<<"Topic not found">>, [?TOPIC_NOT_FOUND]) emqx_mgmt_util:response_error_schema(<<"Topic not found">>, [?TOPIC_NOT_FOUND])
}}}, }}},
{"/routes/:topic", Metadata, route}. {"/routes/:topic", Metadata, route}.