From c4b2096b85fc5c7f30317720752264d6ecabfb0a Mon Sep 17 00:00:00 2001 From: be beet <63141491+beetcb@users.noreply.github.com> Date: Sun, 14 Feb 2021 16:22:33 +0800 Subject: [PATCH] fix: one typos prettier generated --- crawler/casLogIn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler/casLogIn.js b/crawler/casLogIn.js index b3e0850..e6bc74d 100644 --- a/crawler/casLogIn.js +++ b/crawler/casLogIn.js @@ -35,7 +35,7 @@ module.exports = async (school, user) => { headers.Host = school.origin.replace(/http(s?)\:\/\//, '') // get base session -> cookie - headers.res = await fetch(school.login, { headers }) + res = await fetch(school.login, { headers }) reCook(res, 1, cookie) // create document for crawling