diff --git a/src/main/java/me/TechsCode/UpdateServer/Requests.java b/src/main/java/me/TechsCode/UpdateServer/Requests.java index 200aecd..09598dc 100644 --- a/src/main/java/me/TechsCode/UpdateServer/Requests.java +++ b/src/main/java/me/TechsCode/UpdateServer/Requests.java @@ -77,7 +77,7 @@ public String authenticationResponse(@RequestParam(value = "code") String code, } @GetMapping("/{artifact}/download") - public Object download(@RequestParam(value = "uid") String uid, @PathVariable(value = "artifact") String artifactName, HttpServletRequest request) { + public Object legacyDownload(@RequestParam(value = "uid") String uid, @PathVariable(value = "artifact") String artifactName, HttpServletRequest request) { if(artifactName == null) return "NO-ARTIFACT-NAME"; Optional newestVersion = UpdateServer.artifacts.filterByName(artifactName).getBestVersion();