Something changed idk
This commit is contained in:
@@ -5,11 +5,7 @@ export const companies = {
|
||||
async fetch(identifier: string | number): Promise<CompanyController> {
|
||||
const search = await prisma.company.findFirst({
|
||||
where: {
|
||||
OR: [
|
||||
{ id: identifier as string },
|
||||
{ cw_CompanyId: identifier as number },
|
||||
{ cw_Identifier: identifier as string },
|
||||
],
|
||||
OR: [{ id: identifier as string }],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user