removed duplicate
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
Details
This commit is contained in:
parent
ce6620b1ae
commit
2542f9cc61
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue