瀏覽代碼

Fixes typo

j8
hristoterezov 9 年之前
父節點
當前提交
52c6bbe731
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      modules/UI/authentication/AuthHandler.js

+ 1
- 1
modules/UI/authentication/AuthHandler.js 查看文件

279
 function requestAuth(roomName, connect) {
279
 function requestAuth(roomName, connect) {
280
     if (isTokenAuthEnabled) {
280
     if (isTokenAuthEnabled) {
281
         // This Promise never resolves as user gets redirected to another URL
281
         // This Promise never resolves as user gets redirected to another URL
282
-        return new Promse(function (resolve, reject) {
282
+        return new Promise(function (resolve, reject) {
283
             redirectToTokenAuthService(roomName);
283
             redirectToTokenAuthService(roomName);
284
         });
284
         });
285
     } else {
285
     } else {

Loading…
取消
儲存