Add DAO shit for Strategy model, added types for different ops, bump package version
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
5
src/dao/auth/readOneById.ts
Normal file
5
src/dao/auth/readOneById.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Types } from 'mongoose';
|
||||
|
||||
import { Auth } from '../../model/auth';
|
||||
|
||||
export const readOneById = async (id: Types.ObjectId) => Auth.findById(id);
|
||||
Reference in New Issue
Block a user