Authored by htoooth

fix

... ... @@ -4,7 +4,7 @@ const END_POINT = 'http://holiday-api.leanapp.cn/api/v1/work'
async function getWorkday(date) {
return new Promise(function(resolve, reject) {
request.get(END_POINT, {qs: {date}}, function(err, res, body) {
request.get(END_POINT, {qs: {date}, json:true}, function(err, res, body) {
if (err) {
reject(err)
return
... ...