Skip to content

Commit 92792ba

Browse files
authored
update doc
1 parent 817f36e commit 92792ba

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)