File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
model/github/contribution Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func TestYearRange(t *testing.T) {
55
55
56
56
min , max := YearRange (doc )
57
57
assert .Equal (t , 2011 , min )
58
- assert .Equal (t , 2023 , max )
58
+ assert .Equal (t , 2024 , max )
59
59
}
60
60
61
61
func load (t testing.TB , name string ) * goquery.Document {
Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ func (s Setter) NoCache() Setter {
19
19
h .Add (header .CacheControl , "must-revalidate" )
20
20
h .Set ("Pragma" , "no-cache" )
21
21
h .Set ("Expires" , "0" )
22
+ h .Set ("X-Requested-With" , "XMLHttpRequest" )
22
23
return s
23
24
}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
17
17
"go.octolab.org/toolset/maintainer/internal/pkg/url"
18
18
)
19
19
20
- var overview = url .MustParse ("https://github.com?tab=overview " )
20
+ var overview = url .MustParse ("https://github.com?controller=profiles&action=show& tab=contributions " )
21
21
22
22
func (srv * Service ) ContributionHeatMap (
23
23
ctx context.Context ,
You can’t perform that action at this time.
0 commit comments