Skip to content

Commit

Permalink
Exclude get_supported_apis itself from result
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Jan 12, 2019
1 parent 289c0d6 commit dc5dc89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/http_plugin/http_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ namespace eosio {
get_supported_apis_result result;

for (const auto& handler : my->url_handlers) {
result.apis.emplace_back(handler.first);
if (handler.first != "/v1/node/get_supported_apis")
result.apis.emplace_back(handler.first);
}

return result;
Expand Down

0 comments on commit dc5dc89

Please sign in to comment.