From: Christopher Date: Tue, 18 Feb 2020 21:17:11 +0000 (-0600) Subject: fix roles typo X-Git-Url: http://git.entropealabs.com/?a=commitdiff_plain;h=b10f3c0c9e98634a8970b493c7c68fe30facefc4;p=wampex.git fix roles typo --- 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) ```