Update project-router.ts

This commit is contained in:
Daniel Hougaard
2024-09-18 18:54:01 +04:00
parent 6885ef2e54
commit e2ea84f28a

View File

@@ -101,7 +101,7 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
}
],
params: z.object({
workspaceId: z.string().trim().describe(AUDIT_LOGS.EXPORT.workspaceId)
workspaceId: z.string().trim().describe(AUDIT_LOGS.EXPORT.projectId)
}),
querystring: z.object({
eventType: z.nativeEnum(EventType).optional().describe(AUDIT_LOGS.EXPORT.eventType),