Skip to content

Commit

Permalink
use service->full_name()
Browse files Browse the repository at this point in the history
Signed-off-by: 吕海涛 <lv@haitao.dev>
  • Loading branch information
吕海涛 committed Apr 30, 2019
1 parent ac40fdc commit b3e1f3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ JsonTranscoderConfig::JsonTranscoderConfig(
auto http_rule = method->options().GetExtension(google::api::http);

if (!http_rule.pattern_case() && proto_config.auto_mapping()) {
auto post = "/" + service->file()->package() + "." + service->name() + "/" + method->name();
auto post = "/" + service->full_name() + "/" + method->name();
http_rule.set_post(post);
http_rule.set_body("*");
}
Expand Down

0 comments on commit b3e1f3c

Please sign in to comment.