diff --git a/src/main/java/org/ntlab/citrusserver/repositories/TodoManager.java b/src/main/java/org/ntlab/citrusserver/repositories/TodoManager.java index 2bb0edc..c118062 100644 --- a/src/main/java/org/ntlab/citrusserver/repositories/TodoManager.java +++ b/src/main/java/org/ntlab/citrusserver/repositories/TodoManager.java @@ -160,7 +160,7 @@ * @param day 日 * @param todo 追加するべきtodo */ - public int addTodo(String accountId, int bookId, int year, int month, int day, Todo todo){ + public int addTodo(String accountId, int bookId, int year, int month, int day, String title){ if(!todos.containsKey(accountId)){ todos.put(accountId, new HashMap<>()); } @@ -182,6 +182,7 @@ } int tmp = nextTodoId.get(accountBook); +// Todo newTodo = new Todo(title, ); todos.get(accountId).get(bookId).get(year).get(month).get(day).put(tmp, todo); nextTodoId.put(accountBook, tmp + 1); return tmp;