Files
auth-db/lib/dao/readOneById.ts

6 lines
139 B
TypeScript

import { Types } from 'mongoose';
import { Auth } from '..';
export const readOneById = async (id: Types.ObjectId) => Auth.findById(id);