Files
auth-db/src/dao/strategy/readOneByExternalId.ts
mifi e657d09ae5
All checks were successful
continuous-integration/drone/pr Build is passing
Add DAO shit for Strategy model, added types for different ops, bump package version
2023-05-26 17:35:58 -04:00

4 lines
149 B
TypeScript

import { Strategy } from '../../model/strategy';
export const readOneByExternalId = async (externalId: string) => Strategy.findOne({ externalId });