Skip to content
Snippets Groups Projects
Commit c12a7438 authored by Jorge Canizales's avatar Jorge Canizales
Browse files

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

Fixed proto method without package naming in ObjC.
parents ff6242b4 ab5500ea
No related branches found
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment