Error spelling fixes
This commit is contained in:
parent
7c51a53888
commit
d279f5eb2f
1 changed files with 2 additions and 2 deletions
|
|
@ -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)'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue