This commit is contained in:
syuilo
2018-04-26 20:30:49 +09:00
parent 1625fdc2f4
commit 32da569ef6
3 changed files with 21 additions and 1 deletions

View File

@ -458,3 +458,7 @@ function img(url) {
};
}
*/
export function getGhost(): Promise<ILocalUser> {
return User.findOne({ _id: new mongo.ObjectId(config.ghost) });
}