Hotfix: Google Doodles (#1070)

完成任务:日常眼瞎(1/1)
This commit is contained in:
凉凉 2018-11-06 20:09:26 +08:00 committed by DIYgod
parent 80f1f929c9
commit a08c2cfa22
1 changed files with 1 additions and 3 deletions

View File

@ -7,9 +7,7 @@ module.exports = async (ctx) => {
const month = current.getMonth() + 1;
const link = `https://www.google.com/doodles?hl=${language}`;
const {
data: { data },
} = await axios({
const { data } = await axios({
method: 'get',
url: `https://www.google.com/doodles/json/${year}/${month}?hl=${language}`,
headers: {