Merge pull request #4804 from kriswuollett/kriswuollett-protomethod-httppath-fix

Fixed proto method without package naming in ObjC.
pull/4826/head
Jorge Canizales 9 years ago
commit c12a743887
  1. 2
      src/objective-c/ProtoRPC/ProtoMethod.m

@ -46,7 +46,7 @@
}
- (NSString *)HTTPPath {
if (_package) {
if (_package && _package.length > 0) {
return [NSString stringWithFormat:@"/%@.%@/%@", _package, _service, _method];
} else {
return [NSString stringWithFormat:@"/%@/%@", _service, _method];

Loading…
Cancel
Save