Skip to content

Commit 5b6980d

Browse files
author
Mohammad Hunan Chughtai
authored
replaced function call run() with handleLogin() (#488)
1 parent c3a615e commit 5b6980d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/node/quick-start.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ without providing any identifying information:
161161
const user = await app.logIn(credentials);
162162
console.log(`Logged in with the user id: ${user.id}`);
163163
};
164-
run().catch(err => {
164+
handleLogin().catch(err => {
165165
console.error("Failed to log in:", err)
166166
});
167167

@@ -182,7 +182,7 @@ without providing any identifying information:
182182
const user: Realm.User = await app.logIn(credentials);
183183
console.log(`Logged in with the user id: ${user.id}`);
184184
};
185-
run().catch(err => {
185+
handleLogin().catch(err => {
186186
console.error("Failed to log in:", err)
187187
});
188188

0 commit comments

Comments
 (0)