Skip to content

Commit

Permalink
that is NOT how you format something idiot
Browse files Browse the repository at this point in the history
fix stupid api mistake
  • Loading branch information
uncreativeCultist committed Jul 11, 2024
1 parent 859cb5c commit 89596eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jagrosh/jmusicbot/utils/OtherUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static String getLatestVersion()
try
{
Response response = new OkHttpClient.Builder().build()
.newCall(new Request.Builder().get().url("https://api.github.com/repos/lilliepad1/MusicBot/MusicBotShiverFork/latest").build())
.newCall(new Request.Builder().get().url("https://api.github.com/repos/lilliepad1/MusicBotShiverFork/releases/latest").build())
.execute();
ResponseBody body = response.body();
if(body != null)
Expand Down

0 comments on commit 89596eb

Please sign in to comment.