fix: typo isAuthenticate -> isAuthenticated

This commit is contained in:
2024-02-13 14:07:53 +01:00
parent d773859e04
commit 94a4c4cdf8
9 changed files with 10 additions and 10 deletions

View File

@ -23,7 +23,7 @@ class MatchMaking
*/
async start(receive_func, disconnect_func, mode)
{
if (!await this.client.isAuthenticate())
if (!await this.client.isAuthenticated())
return null;
let url = `${window.location.protocol[4] === 's' ? 'wss' : 'ws'}://${window.location.host}/ws/matchmaking/${mode}`;