Skip to content

Commit bd5c852

Browse files
authored
Update README.md
1 parent 2faa2ae commit bd5c852

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
@@ -38,7 +38,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
3838
[socket on:@"currentAmount" callback:^(NSArray* data, SocketAckEmitter* ack) {
3939
double cur = [[data objectAtIndex:0] floatValue];
4040

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

0 commit comments

Comments
 (0)