Skip to content

Commit 4ba468c

Browse files
Merge pull request #273303 from emlynmac/emlyn/update-sample-source
Fix JS Sample code
2 parents cea05ec + 50d6046 commit 4ba468c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/quickstarts/chat/includes/meeting-interop-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ var chatThreadId = "";
199199

200200
async function init() {
201201
const connectionString = "<SECRET_CONNECTION_STRING>";
202-
const endpointUrl = connectionString.split(";")[0];
202+
const endpointUrl = connectionString.split(";")[0].replace("endpoint=", "");
203203

204204
const identityClient = new CommunicationIdentityClient(connectionString);
205205

0 commit comments

Comments
 (0)