mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-03 09:16:40 +00:00
add log incoming middleware
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user