fixed wrong date inserting

This commit is contained in:
2024-11-09 03:55:41 +03:00
parent 757f5c13a5
commit 77d95824f3
3 changed files with 8 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ import translate from '../utils/translate.js';
const errorHandler = (err, req, res) => {
log.error(err);
console.log(err);
let language = req.headers["accept-language"];
if (err instanceof customError) {
@@ -23,4 +23,4 @@ const tryHandler = (func) => {
}
}
export default tryHandler;
export default tryHandler;