12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
export class ConversationService {
|
|
// static async getUserById(userId: string) {
|
|
// const query = { googleId: userId };
|
|
// const res = await collections.users?.findOne(query);
|
|
// // exists
|
|
// if (res?._id) {
|
|
// return res as User;
|
|
// }
|
|
// return null;
|
|
// }
|
|
}
|