From 9dd038e49ae1f991a0afe5c0835fce29743f8962 Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 28 Feb 2023 01:18:09 +0100 Subject: Make release api url protected --- src/main/java/moe/nea/libautoupdate/GithubReleaseUpdateSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit