リネーム

This commit is contained in:
ろむねこ 2024-06-18 18:54:53 +09:00
parent 1995f44d8d
commit bb4b6410fd
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,7 +1,7 @@
import { Child } from '@prisma/client';
import prisma from '@src/prisma';
async function getChildList(homeGroupId: string): Promise<Child[]> {
async function getChilds(homeGroupId: string): Promise<Child[]> {
return prisma.child.findMany({
where: {
home_group_id: homeGroupId
@ -10,4 +10,4 @@ async function getChildList(homeGroupId: string): Promise<Child[]> {
}
export { getChildList };
export { getChilds };