mirror of
https://github.com/documenso/documenso.git
synced 2025-11-11 04:52:41 +10:00
10 lines
192 B
TypeScript
10 lines
192 B
TypeScript
import { prisma } from '@documenso/prisma';
|
|
|
|
export const getWebhooksByUserId = async (userId: number) => {
|
|
return await prisma.webhook.findMany({
|
|
where: {
|
|
userId,
|
|
},
|
|
});
|
|
};
|