chore(root): rename organizationSlug to organizationId (#91)
This commit is contained in:
committed by
GitHub
parent
0221948aab
commit
cd16ac878d
@@ -8,10 +8,10 @@ export type IServiceClientWithProject = Prisma.ClientGetPayload<{
|
||||
};
|
||||
}>;
|
||||
|
||||
export async function getClientsByOrganizationSlug(organizationSlug: string) {
|
||||
export async function getClientsByOrganizationId(organizationId: string) {
|
||||
return db.client.findMany({
|
||||
where: {
|
||||
organizationSlug,
|
||||
organizationId,
|
||||
},
|
||||
include: {
|
||||
project: true,
|
||||
|
||||
Reference in New Issue
Block a user