Commit e5deeca9 by HouWeiBin

1,补充

parent e47b8217
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
- (NSOperation *)createGetOperation - (NSOperation *)createGetOperation
{ {
return [self.client getCheckoutWithToken:self.checkoutToken start:NO completion:^(BUYCheckout *checkout, NSError *error) { return [self.client getCheckoutWithToken:self.checkoutToken start:NO completion:^(NSDictionary *dictionary, BUYCheckout *checkout, NSError *error) {
if (checkout) { if (checkout) {
[self finishWithObject:checkout]; [self finishWithObject:checkout];
} else { } else {
......
...@@ -115,7 +115,7 @@ static NSString *const WebCheckoutCustomerAccessToken = @"customer_access_token" ...@@ -115,7 +115,7 @@ static NSString *const WebCheckoutCustomerAccessToken = @"customer_access_token"
self.checkout = checkout; self.checkout = checkout;
[self.client updateOrCreateCheckout:checkout completion:^(BUYCheckout *checkout, NSError *error) { [self.client updateOrCreateCheckout:checkout completion:^(NSDictionary *dictionary, BUYCheckout *checkout, NSError *error) {
[self postCheckoutCompletion:checkout error:error]; [self postCheckoutCompletion:checkout error:error];
}]; }];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment