Skip to content
Snippets Groups Projects
Commit 76ed78f5 authored by Jan Tymel's avatar Jan Tymel
Browse files

Set incorrectFlagLimit of newly created task to 1

parent e227a22d
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ public class TaskService { ...@@ -42,6 +42,7 @@ public class TaskService {
task.setFlag("Secret flag"); task.setFlag("Secret flag");
task.setContent("Task content ..."); task.setContent("Task content ...");
task.setSolution("Task solution ..."); task.setSolution("Task solution ...");
task.setIncorrectFlagLimit(1);
Task persistedEntity = taskRepository.save(task); Task persistedEntity = taskRepository.save(task);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment