Showing
1 changed file
with
1 additions
and
3 deletions
@@ -47,9 +47,7 @@ Vue.use(Bind); | @@ -47,9 +47,7 @@ Vue.use(Bind); | ||
47 | 47 | ||
48 | 48 | ||
49 | yoho.auth = async(loginUrl) => { | 49 | yoho.auth = async(loginUrl) => { |
50 | - // let user = await sdk.getUser(); | ||
51 | - | ||
52 | - let user = ''; | 50 | + let user = await sdk.getUser(); |
53 | 51 | ||
54 | if (user && user.uid) { | 52 | if (user && user.uid) { |
55 | return user; | 53 | return user; |
-
Please register or login to post a comment