Skip to content

Commit fae1107

Browse files
committed
add url for converted and original for video info
1 parent 3ec6754 commit fae1107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/animecap/system/controllers/VideoController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ public Video videoUpload(@RequestParam("file") MultipartFile file,
5959
}
6060
return videoRepo.save(v);
6161
}
62-
@RequestMapping("/")
62+
@RequestMapping("/original")
6363
public Video video(@RequestParam("uuid") String vUUID) {
6464
return videoRepo.findOne(videoRepo.findByOriginal(vUUID).id);
6565
}
6666

67-
@RequestMapping("/")
67+
@RequestMapping("/converted")
6868
public List<Video> converted(@RequestParam("uuid") String vUUID, @RequestParam("preset") String preset) {
6969
return videoRepo.findConvertedByOriginalAndPreset(vUUID, preset);
7070
}

0 commit comments

Comments
 (0)