ensure correct json is used for customer creation

parent be12adb8
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
}]; }];
} }
else { else {
BUYCustomer *customer = [self.modelManager customerWithJSONDictionary:json[@"customer"]]; BUYCustomer *customer = [self.modelManager customerWithJSONDictionary:customerJSON];
block(customer, self.customerToken, error); block(customer, self.customerToken, 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