aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/encora/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/encora/Main.java b/src/main/java/com/encora/Main.java
index 6aa5281..ec23015 100644
--- a/src/main/java/com/encora/Main.java
+++ b/src/main/java/com/encora/Main.java
@@ -42,7 +42,7 @@ public class Main {
) {
}
- @PostMapping
+ @PostMapping("/todos")
@ResponseStatus(value=HttpStatus.OK)
public void addToDo(@RequestBody NewToDo toDo) {
if (toDo.text().length() > 120) {