From 3f91f479f1915d1ac52ba6cff9d37972dde2af9d Mon Sep 17 00:00:00 2001 From: martinjbaker Date: Sat, 22 Jul 2017 12:56:08 +0100 Subject: [PATCH] Corrected merge vars LNAME List field is called LNAME not LName --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e74aacf..e021c25 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ You can now make requests. For example, here's how to subscribe an email address Using a block: ```objective-c -NSDictionary *params = @{@"id": listId, @"email": @{@"email": @"foo@example.com"}, @"merge_vars": @{@"FNAME": @"Freddie", @"LName":@"von Chimpenheimer"}}; +NSDictionary *params = @{@"id": listId, @"email": @{@"email": @"foo@example.com"}, @"merge_vars": @{@"FNAME": @"Freddie", @"LNAME":@"von Chimpenheimer"}}; [[ChimpKit sharedKit] callApiMethod:@"lists/subscribe" withParams:params andCompletionHandler:^(ChimpKitRequest *request, NSError *error) { NSLog(@"HTTP Status Code: %d", request.response.statusCode); NSLog(@"Response String: %@", request.responseString);