mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-22 06:12:55 +02:00
fix typo in syntax
This commit is contained in:
@@ -212,7 +212,7 @@ async function register() {
|
|||||||
const result = await createAccount(jsonData);
|
const result = await createAccount(jsonData);
|
||||||
|
|
||||||
if (result.error) {
|
if (result.error) {
|
||||||
return console.log('An error occured:', result.error);
|
return console.log('An error occurred:', result.error);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Account created!', result);
|
console.log('Account created!', result);
|
||||||
|
Reference in New Issue
Block a user