a lot
This commit is contained in:
12
packages/db/src/services/share.service.ts
Normal file
12
packages/db/src/services/share.service.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { db } from '../prisma-client';
|
||||
|
||||
export function getShareOverviewById(id: string) {
|
||||
return db.shareOverview.findFirst({
|
||||
where: {
|
||||
id,
|
||||
},
|
||||
include: {
|
||||
project: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user