This commit is contained in:
syuilo 2017-10-07 07:34:35 +09:00
parent 91251916ce
commit 3795b88277

View File

@ -79,4 +79,5 @@ export function init(user): IUser {
user.avatar_id = new mongo.ObjectID(user.avatar_id);
user.banner_id = new mongo.ObjectID(user.banner_id);
user.pinned_post_id = new mongo.ObjectID(user.pinned_post_id);
return user;
}