From 804e695e58283f52710a2d03f7503287f0bccc06 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Mon, 17 Apr 2017 14:19:27 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 281c0bb9..307775a0 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ class MyController extends WebSocketController { // Dependency injection works, too.. @ExposeWs("read_message") - void sendMessage(WebSocketContext socket, WebSocketAction, Db db) async { + void sendMessage(WebSocketContext socket, WebSocketAction action, Db db) async { socket.send( "found_message", db.collection("messages").findOne(where.id(action.data['message_id'])));