aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-02-28 01:18:09 +0100
committernea <nea@nea.moe>2023-02-28 01:18:09 +0100
commit9dd038e49ae1f991a0afe5c0835fce29743f8962 (patch)
treec04dd2581a3dddd04d62e6482730c6fbc9aa0e78 /src/main/java/moe
parent25fe484851023729415c12fb9ab9b34393cca036 (diff)
downloadlibautoupdate-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.java2
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);
}