mirror of
https://github.com/documenso/documenso.git
synced 2026-07-24 08:54:20 +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,
|
|
},
|
|
});
|
|
};
|