Tested list endpoints

This commit is contained in:
Owen Schwartz 2024-10-02 22:17:43 -04:00
parent afe3d0659c
commit bbc06245fa
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
4 changed files with 25 additions and 33 deletions

View file

@ -8,7 +8,7 @@ import createHttpError from 'http-errors';
import { sql, eq } from 'drizzle-orm';
const listTargetsParamsSchema = z.object({
resourceId: z.string().optional(),
resourceId: z.string().optional()
});
const listTargetsSchema = z.object({