diff --git a/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java b/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java index 03cd33f..9246ef4 100644 --- a/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java +++ b/app/src/main/java/com/example/citrusclient/viewmodels/TodosViewModel.java @@ -50,6 +50,7 @@ @Override public void onResponse(Call> call, Response> response) { if (response.isSuccessful()) { + System.out.println("Success: getAllTodos"); } else { System.out.println("Error: getAllTodos" + response.code()); @@ -73,6 +74,7 @@ @Override public void onResponse(Call> call, Response> response) { if (response.isSuccessful()) { + System.out.println("Success: getTodosByMonth"); } else { System.out.println("Error: getTodosByMonth" + response.code()); @@ -95,6 +97,7 @@ @Override public void onResponse(Call> call, Response> response) { if (response.isSuccessful()) { + System.out.println("Success: getTodosByDay"); } else { System.out.println("Error: getTodosByDay" + response.code()); @@ -117,6 +120,7 @@ @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { + System.out.println("Success: getTodoById"); } else { System.out.println("Error: getTodoById" + response.code()); @@ -139,6 +143,7 @@ @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { + System.out.println("Success: createTodo"); } else { System.out.println("Error: createTodo" + response.code()); @@ -161,6 +166,7 @@ @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { + System.out.println("Success: setCheck"); } else { System.out.println("Error: setCheck" + response.code()); @@ -182,6 +188,7 @@ @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { + System.out.println("Success: deleteTodo"); } else { System.out.println("Error: deleteTodo" + response.code());