We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pushed_at
updated_at
1 parent 2ead611 commit edefbbdCopy full SHA for edefbbd
src/Project.elm
@@ -168,7 +168,7 @@ getYearFromGithub repoName env =
168
yearDecoder =
169
Json.Decode.map2 Range
170
(Json.Decode.field "created_at" dateDecoder)
171
- (Json.Decode.field "updated_at" dateDecoder)
+ (Json.Decode.field "pushed_at" dateDecoder)
172
173
headers =
174
case env.githubToken of
@@ -182,7 +182,7 @@ getYearFromGithub repoName env =
182
{ url = "https://api.github.com/repos/" ++ repoName
183
, expect = BackendTask.Http.expectJson yearDecoder
184
, headers = headers
185
- , cacheStrategy = Just BackendTask.Http.ForceCache
+ , cacheStrategy = Nothing
186
, retries = Nothing
187
, timeoutInMs = Nothing
188
, cachePath = Nothing
0 commit comments