mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 04:31:39 +10:00
wip: what if user ids were strings instead of numbers
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { prisma } from '@documenso/prisma';
|
||||
|
||||
export const getWebhooksByTeamId = async (teamId: number, userId: number) => {
|
||||
export const getWebhooksByTeamId = async (teamId: number, userId: string) => {
|
||||
return await prisma.webhook.findMany({
|
||||
where: {
|
||||
team: {
|
||||
|
||||
Reference in New Issue
Block a user