File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function headers.get()
1313 [" Content-Type" ] = " application/json" ,
1414 [" Accept" ] = " application/json" ,
1515 [" Host" ] = (" leetcode.%s" ):format (config .domain ),
16- [" X-Requested-With" ] = " XMLHttpRequest" ,
16+ -- ["X-Requested-With"] = "XMLHttpRequest",
1717 }, cookie and {
1818 [" Cookie" ] = cookie .str ,
1919 [" x-csrftoken" ] = cookie .csrftoken ,
Original file line number Diff line number Diff line change @@ -624,17 +624,17 @@ cmd.commands = {
624624 last_submit = { cmd .last_submit },
625625 restore = { cmd .restore },
626626 inject = { cmd .inject },
627- session = {
628- change = {
629- cmd .change_session ,
630- _args = arguments .session_change ,
631- },
632- create = {
633- cmd .create_session ,
634- _args = arguments .session_create ,
635- },
636- update = { cmd .update_sessions },
637- },
627+ -- session = {
628+ -- change = {
629+ -- cmd.change_session,
630+ -- _args = arguments.session_change,
631+ -- },
632+ -- create = {
633+ -- cmd.create_session,
634+ -- _args = arguments.session_create,
635+ -- },
636+ -- update = { cmd.update_sessions },
637+ -- },
638638 list = {
639639 cmd .problems ,
640640 _args = arguments .list ,
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ function Stats.update_sessions()
2626
2727 Stats .progress = {}
2828
29- stats_api .sessions (function (_ , err )
30- if err then
31- return log .err (err )
32- end
33-
34- _Lc_state .menu :draw ()
35- end )
29+ -- stats_api.sessions(function(_, err)
30+ -- if err then
31+ -- return log.err(err)
32+ -- end
33+ --
34+ -- _Lc_state.menu:draw()
35+ -- end)
3636
3737 stats_api .session_progress (function (res , err )
3838 if err then
You can’t perform that action at this time.
0 commit comments