add log incoming middleware

This commit is contained in:
Milo Schwartz
2024-10-26 17:19:10 -04:00
parent be144fe15d
commit 6cee5703b5
5 changed files with 124 additions and 109 deletions

View File

@@ -91,8 +91,6 @@ export async function listResources(
next: NextFunction,
): Promise<any> {
try {
logger.info(JSON.stringify(req.query, null, 2));
logger.info(JSON.stringify(req.params, null, 2));
const parsedQuery = listResourcesSchema.safeParse(req.query);
if (!parsedQuery.success) {
return next(