From d5d6c4da68894c50f5abfc787693f378176fc85d Mon Sep 17 00:00:00 2001 From: "James Morris, MS" <96435344+james-a-morris@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:34:50 -0500 Subject: [PATCH] nit: naming --- packages/indexer-api/src/error-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/indexer-api/src/error-handler.ts b/packages/indexer-api/src/error-handler.ts index ee00a56..92964fc 100644 --- a/packages/indexer-api/src/error-handler.ts +++ b/packages/indexer-api/src/error-handler.ts @@ -31,7 +31,7 @@ const errorHandler = ( }); } else if (err instanceof StructError) { res.status(StatusCodes.BAD_REQUEST).json({ - error: "InputValidationError", + error: "ValidationError", message: err.message, }); } else if (err instanceof Error) {