6 lines
150 B
TypeScript
6 lines
150 B
TypeScript
import { Types } from "mongoose";
|
|
|
|
import { Auth } from "../model/auth";
|
|
|
|
export const readOneById = async (id: Types.ObjectId) => Auth.findById(id);
|