removed duplicate
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details

This commit is contained in:
Andrey Kassaev 2024-01-03 15:00:10 +04:00
parent ce6620b1ae
commit 2542f9cc61
1 changed files with 0 additions and 6 deletions

View File

@ -16,12 +16,6 @@ class NoteController(val service: NoteService) {
return service.getAllNotes() return service.getAllNotes()
} }
// Duplicate to test runner
@GetMapping("/all_notes")
fun getAll(): List<Note> {
return service.getAllNotes()
}
@PostMapping("/create") @PostMapping("/create")
fun createNote(@RequestBody note: Note): Note { fun createNote(@RequestBody note: Note): Note {
return service.updateNote(note) return service.updateNote(note)