fix: formatting
This commit is contained in:
parent
ea251b9764
commit
e3eb9d83f1
1 changed files with 8 additions and 6 deletions
|
@ -125,9 +125,11 @@ export default async () => {
|
|||
}
|
||||
|
||||
if (isCorrectDate) {
|
||||
if (nowHour === startHour && nowMinutes >= startMinutes && nowHour < endHour) return Response.json(res)
|
||||
if (nowHour === startHour && nowMinutes >= startMinutes && nowHour < endHour)
|
||||
return Response.json(res)
|
||||
if (nowHour > startHour && nowHour < endHour) return Response.json(res)
|
||||
if (nowHour > startHour && nowMinutes <= endMinutes && nowHour == endHour) return Response.json(res)
|
||||
if (nowHour > startHour && nowMinutes <= endMinutes && nowHour == endHour)
|
||||
return Response.json(res)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue