diff options
author | nea <nea@nea.moe> | 2023-02-28 01:18:09 +0100 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-02-28 01:18:09 +0100 |
commit | 9dd038e49ae1f991a0afe5c0835fce29743f8962 (patch) | |
tree | c04dd2581a3dddd04d62e6482730c6fbc9aa0e78 /src/main/java/moe | |
parent | 25fe484851023729415c12fb9ab9b34393cca036 (diff) | |
download | libautoupdate-9dd038e49ae1f991a0afe5c0835fce29743f8962.tar.gz libautoupdate-9dd038e49ae1f991a0afe5c0835fce29743f8962.tar.bz2 libautoupdate-9dd038e49ae1f991a0afe5c0835fce29743f8962.zip |
Make release api url protected
Diffstat (limited to 'src/main/java/moe')
-rw-r--r-- | src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java b/src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java index 067ea4b..6742261 100644 --- a/src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java +++ b/src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java @@ -88,7 +88,7 @@ public class GithubReleaseUpdateSource extends JsonUpdateSource { } - private String getReleaseApiUrl() { + protected String getReleaseApiUrl() { return String.format("https://api.github.com/repos/%s/%s/releases", owner, repository); } |