0
0
Fork 0

いろいろ

This commit is contained in:
Xeltica 2021-10-11 18:12:53 +09:00
parent f0604043a8
commit d8664775cc
28 changed files with 510 additions and 63 deletions

View file

@ -48,7 +48,7 @@ export const updateUsersToolsToken = async (user: User | User['id']): Promise<st
* @param token
* @returns
*/
export const getUserByToolsToken = (token: string): Promise<User | undefined> => {
export const getUserByToolsToken = (token: string): Promise<IUser | undefined> => {
return Users.findOne({ misshaiToken: token }).then(packUser);
};