Skip to content

Commit d01fd4e

Browse files
authored
Update client_bob.html
replaces login with createSession
1 parent bb28fe6 commit d01fd4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app-to-app-js/client_bob.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>Inbound app call</h1>
1313
const bobJWT ="PASTE BOB JWT HERE";
1414

1515
new NexmoClient({ debug: true })
16-
.login(bobJWT)
16+
.createSession(bobJWT)
1717
.then(app => {
1818
let btn = document.getElementById("button");
1919
let notification = document.getElementById("notification");
@@ -31,4 +31,4 @@ <h1>Inbound app call</h1>
3131
.catch(console.error);
3232
</script>
3333
</body>
34-
</html>
34+
</html>

0 commit comments

Comments
 (0)