diff options
Diffstat (limited to 'src/objective-c/ProtoRPC/ProtoService.m')
-rw-r--r-- | src/objective-c/ProtoRPC/ProtoService.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/ProtoRPC/ProtoService.m b/src/objective-c/ProtoRPC/ProtoService.m index 45d015e131..05a4ead8a6 100644 --- a/src/objective-c/ProtoRPC/ProtoService.m +++ b/src/objective-c/ProtoRPC/ProtoService.m @@ -46,7 +46,7 @@ } - (instancetype)init { - return [self initWithHost:nil]; + return [self initWithHost:nil packageName:nil serviceName:nil]; } // Designated initializer @@ -71,7 +71,7 @@ responsesWriteable:(id<GRXWriteable>)responsesWriteable { GRPCMethodName *methodName = [[GRPCMethodName alloc] initWithPackage:_packageName interface:_serviceName - method:_method]; + method:method]; return [[ProtoRPC alloc] initWithHost:_host method:methodName requestsWriter:requestsWriter |