File tree 3 files changed +19
-19
lines changed
3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ function headers.get()
13
13
[" Content-Type" ] = " application/json" ,
14
14
[" Accept" ] = " application/json" ,
15
15
[" Host" ] = (" leetcode.%s" ):format (config .domain ),
16
- [" X-Requested-With" ] = " XMLHttpRequest" ,
16
+ -- ["X-Requested-With"] = "XMLHttpRequest",
17
17
}, cookie and {
18
18
[" Cookie" ] = cookie .str ,
19
19
[" x-csrftoken" ] = cookie .csrftoken ,
Original file line number Diff line number Diff line change @@ -624,17 +624,17 @@ cmd.commands = {
624
624
last_submit = { cmd .last_submit },
625
625
restore = { cmd .restore },
626
626
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
+ -- },
638
638
list = {
639
639
cmd .problems ,
640
640
_args = arguments .list ,
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ function Stats.update_sessions()
26
26
27
27
Stats .progress = {}
28
28
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)
36
36
37
37
stats_api .session_progress (function (res , err )
38
38
if err then
You can’t perform that action at this time.
0 commit comments