diff --git a/stone/backends/swift_rsrc/SwiftObjcShimHelpers.jinja b/stone/backends/swift_rsrc/SwiftObjcShimHelpers.jinja index 24778192..51451da8 100644 --- a/stone/backends/swift_rsrc/SwiftObjcShimHelpers.jinja +++ b/stone/backends/swift_rsrc/SwiftObjcShimHelpers.jinja @@ -13,7 +13,7 @@ import stone_sdk_swift_objc public class SDKShimHelpers: NSObject { // MARK: DBAPIRpcTask - @objc public static func setResponseBlockRPC(block: @escaping DBRpcResponseBlockImpl, on task: DBXRequest, with queue: OperationQueue) -> Bool { + @objc public static func setResponseBlockRPC(block: @escaping DBRpcResponseBlockImpl, on task: DBXRequest, with queue: OperationQueue?) -> Bool { {% for namespace in namespaces | selectattr('name', '!=', 'team') %} {% for route in namespace.routes %} {% if route.attrs.get('style') == 'rpc' and ('user' in route.attrs.get('auth') or 'noauth' in route.attrs.get('auth')) and not route.deprecated %}