Breaking down mega-package. Hello auth-db 1.0.0!
This commit is contained in:
5
lib/dao/readOneById.ts
Normal file
5
lib/dao/readOneById.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Types } from 'mongoose';
|
||||
|
||||
import { Auth } from '..';
|
||||
|
||||
export const readOneById = async (id: Types.ObjectId) => Auth.findById(id);
|
||||
Reference in New Issue
Block a user