add fk(orgId) for all create
This commit is contained in:
@@ -32,7 +32,7 @@ async function getProjectId(
|
||||
|
||||
const project = await db.project.findUnique({
|
||||
where: {
|
||||
organizationSlug: request.client?.organizationSlug,
|
||||
organizationId: request.client?.organizationSlug,
|
||||
id: projectId,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user