mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-09-14 03:09:50 +00:00
✨ feat: Servers feature in backend
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { prisma } from "@minikura/db";
|
||||
|
||||
export namespace UserService {
|
||||
export async function getUserByUsername(username: string) {
|
||||
return await prisma.user.findUnique({
|
||||
where: { username },
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user