regression: await `getUserInfo` promise on login (#28655)

pull/28534/head
Kevin Aleman 3 years ago committed by GitHub
parent ed0be93174
commit f10aaa6723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/meteor/app/api/server/api.js

@ -624,7 +624,7 @@ export class APIClass extends Restivus {
data: {
userId: this.userId,
authToken: auth.token,
me: getUserInfo(this.user),
me: await getUserInfo(this.user),
},
};

Loading…
Cancel
Save