Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Renamed method
Browse files Browse the repository at this point in the history
  • Loading branch information
TechsCode committed Aug 16, 2020
1 parent 49facd4 commit 4cbe233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/TechsCode/UpdateServer/Requests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> newestVersion = UpdateServer.artifacts.filterByName(artifactName).getBestVersion();
Expand Down

0 comments on commit 4cbe233

Please sign in to comment.