mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-20 01:12:06 +00:00
missed some brackers
This commit is contained in:
parent
c6e822f783
commit
a08e664546
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ query ($page: Int, $perPage: Int, $sort: [MediaSort], $type: MediaType, $genre:
|
|||
}`
|
||||
} else if (opts.method == "AiringSchedule") {
|
||||
let date = new Date(),
|
||||
diff = date.getDay() >= 1 ? date.getDay() - 1 : 6 - date.getDay;
|
||||
diff = date.getDay() >= 1 ? date.getDay() - 1 : 6 - date.getDay();
|
||||
date.setDate(date.getDate() - diff)
|
||||
date.setHours(0, 0, 0, 0)
|
||||
variables.from = date.getTime() / 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue