fix: middleware errors

This commit is contained in:
DIYgod
2024-01-21 18:35:11 +08:00
parent e7e3f689bd
commit 4591116733
14 changed files with 126 additions and 322 deletions

View File

@@ -15,7 +15,7 @@ const collapseWhitespace = (str: string) => {
return str;
};
const convertDateToISO8601 = (date: string | Date) => {
const convertDateToISO8601 = (date: string | Date | number) => {
if (!date) {
return date;
}