Fixes typo

This commit is contained in:
Saptak S 2021-11-15 19:53:02 +05:30
parent b9d9f14916
commit 8ec28da4fe
No known key found for this signature in database
GPG Key ID: 7B7F1772C0C6FCBF

View File

@ -94,7 +94,7 @@ var updateUsername = function (socket) {
if (response.success && response.username == username) { if (response.success && response.username == username) {
socket.emit('update_username', { username: username }); socket.emit('update_username', { username: username });
} else { } else {
addStatusMessage("Failed to updated username.") addStatusMessage("Failed to update username.")
} }
}); });
return username; return username;