Skip to content

Commit

Permalink
nit: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
james-a-morris authored Nov 26, 2024
1 parent c3b2187 commit d5d6c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indexer-api/src/error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d5d6c4d

Please sign in to comment.