From b10f3c0c9e98634a8970b493c7c68fe30facefc4 Mon Sep 17 00:00:00 2001 From: Christopher Date: Tue, 18 Feb 2020 15:17:11 -0600 Subject: [PATCH] fix roles typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca81142..73cda07 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ url = "http://localhost:18080/ws" realm = %Realm{name: "com.myrealm"} roles = [Callee, Caller, Publisher, Subscriber] -session = %Session{url: url, realm: realm, roles: controller_roles} +session = %Session{url: url, realm: realm, roles: roles} Wampex.start_link(name: Connection, session: session) ``` @@ -65,7 +65,7 @@ url = "http://localhost:18080/ws" realm = %Realm{name: "com.myrealm"} roles = [Callee, Caller, Publisher, Subscriber] -session = %Session{url: url, realm: realm, roles: controller_roles, protocol: "wamp.2.json", serializer: JSON} +session = %Session{url: url, realm: realm, roles: roles, protocol: "wamp.2.json", serializer: JSON} Wampex.start_link(name: Connection, session: session) ``` -- 2.45.3