Skip to content

Commit b48e3d9

Browse files
authored
Update client_js.html
replaces login with createSession for v.9.0.0
1 parent 0b879d1 commit b48e3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-to-phone-js/client_js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1>Call Phone from App</h1>
2323
const hangupButton = document.getElementById("hangup");
2424
const statusElement = document.getElementById("status");
2525
new NexmoClient({ debug: true })
26-
.login(USER_JWT)
26+
.createSession(USER_JWT)
2727
.then(app => {
2828
callButton.addEventListener("click", event => {
2929
event.preventDefault();

0 commit comments

Comments
 (0)