Showing
1 changed file
with
1 additions
and
1 deletions
@@ -16,7 +16,7 @@ async function getWorkday(date) { | @@ -16,7 +16,7 @@ async function getWorkday(date) { | ||
16 | const now = new Date(); | 16 | const now = new Date(); |
17 | const n = now.getDay(); | 17 | const n = now.getDay(); |
18 | 18 | ||
19 | - if ([0, 1].includes(n)) { | 19 | + if ([0, 6].includes(n)) { |
20 | return resolve({ | 20 | return resolve({ |
21 | data: { | 21 | data: { |
22 | shouldWork: 'N' | 22 | shouldWork: 'N' |
-
Please register or login to post a comment