This commit is contained in:
parent
91251916ce
commit
3795b88277
|
@ -79,4 +79,5 @@ export function init(user): IUser {
|
||||||
user.avatar_id = new mongo.ObjectID(user.avatar_id);
|
user.avatar_id = new mongo.ObjectID(user.avatar_id);
|
||||||
user.banner_id = new mongo.ObjectID(user.banner_id);
|
user.banner_id = new mongo.ObjectID(user.banner_id);
|
||||||
user.pinned_post_id = new mongo.ObjectID(user.pinned_post_id);
|
user.pinned_post_id = new mongo.ObjectID(user.pinned_post_id);
|
||||||
|
return user;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue