Error spelling fixes

This commit is contained in:
emad-salah 2021-08-02 12:51:59 +01:00
parent 7c51a53888
commit d279f5eb2f

View file

@ -538,7 +538,7 @@ const register = async (alias, pass) => {
if (theresPeers && !atLeastOneIsConnected) { if (theresPeers && !atLeastOneIsConnected) {
throw new Error( throw new Error(
'No connected to any peers for checking of duplicate aliases' 'Not connected to any peers for checking of duplicate aliases'
) )
} }
@ -554,7 +554,7 @@ const register = async (alias, pass) => {
if (userData) { if (userData) {
throw new Error( throw new Error(
'The given alias has been used before, use an unique alias instead. (Caught at 2nd try)' 'The given alias has been used before, use a unique alias instead. (Caught at 2nd try)'
) )
} }
} }