Reverting
This commit is contained in:
@@ -8,7 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(path = "/video" )
|
||||
@RequestMapping(path="/video")
|
||||
@CrossOrigin(origins = "http://localhost:3000")
|
||||
public class VideoController {
|
||||
|
||||
@@ -20,7 +20,7 @@ public class VideoController {
|
||||
private Long id;
|
||||
}
|
||||
|
||||
@PostMapping(path = "/video")
|
||||
@PostMapping(path = "/videos")
|
||||
public Response saveNewVideo(@RequestBody SaveNewVideoRequest request){
|
||||
|
||||
videoService.saveNewVideo(request);
|
||||
|
||||
Reference in New Issue
Block a user