Skip to content

Commit 245c5a1

Browse files
authored
Merge pull request #752 from bingfengzhu/patch-1
update doc
2 parents 817f36e + 92792ba commit 245c5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
4040
double cur = [[data objectAtIndex:0] floatValue];
4141

4242
[[socket emitWithAck:@"canUpdate" with:@[@(cur)]] timingOutAfter:0 callback:^(NSArray* data) {
43-
[socket emit:@"update" withItems:@[@{@"amount": @(cur + 2.50)}]];
43+
[socket emit:@"update" with:@[@{@"amount": @(cur + 2.50)}]];
4444
}];
4545

4646
[ack with:@[@"Got your currentAmount, ", @"dude"]];

0 commit comments

Comments
 (0)