nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/github: implements caching to maximize rate limit.
[nit.git]
/
lib
/
github
/
api.nit
diff --git
a/lib/github/api.nit
b/lib/github/api.nit
index
b979b5d
..
2655ae3
100644
(file)
--- a/
lib/github/api.nit
+++ b/
lib/github/api.nit
@@
-133,7
+133,7
@@
class GithubAPI
# Load the json object from Github.
# See `GithubEntity::load_from_github`.
# Load the json object from Github.
# See `GithubEntity::load_from_github`.
- private fun load_from_github(key: String): JsonObject do
+ protected fun load_from_github(key: String): JsonObject do
message(1, "Get {key} (github)")
var res = get(key)
if was_error then return new JsonObject
message(1, "Get {key} (github)")
var res = get(key)
if was_error then return new JsonObject