Merge pull request #5270 from DDDHuang/fix_routes_api

fix: routes api function cause
This commit is contained in:
DDDHuang 2021-07-20 14:31:33 +08:00 committed by GitHub
commit 0f6738f2a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ route_api() ->
<<"200">> =>
emqx_mgmt_util:response_schema(<<"Route info">>, <<"route">>),
<<"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}.