Skip to content

Commit 27f57e4

Browse files
committed
fixes
1 parent 8a02262 commit 27f57e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/botasaurus-server-js/src/api-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export function buildApp(
292292
return payload;
293293
});
294294
// Add error handler for JsonHTTPResponseWithMessage
295-
app.setErrorHandler((error, _, reply) => {
295+
app.setErrorHandler((error:any, _, reply) => {
296296
if (error instanceof JsonHTTPResponseWithMessage) {
297297
reply.code(error.status).headers(error.headers).send(error.body);
298298
} else {

0 commit comments

Comments
 (0)