修复scripts独立造成shell样式丢失

This commit is contained in:
whyour
2021-03-29 22:42:46 +08:00
parent 9f54a15ab8
commit f0f738f8a2
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -64,9 +64,7 @@ export default ({ app }: { app: Application }) => {
) => {
res.status(err.status || 500);
res.json({
errors: {
message: err.message,
},
message: err.message,
});
},
);