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