diff --git a/core/src/main/java/se/su/dsv/scipro/project/ReflectionStatus.java b/core/src/main/java/se/su/dsv/scipro/project/ReflectionStatus.java index d2f9d46b52..92b94cd7b6 100644 --- a/core/src/main/java/se/su/dsv/scipro/project/ReflectionStatus.java +++ b/core/src/main/java/se/su/dsv/scipro/project/ReflectionStatus.java @@ -3,5 +3,5 @@ package se.su.dsv.scipro.project; public enum ReflectionStatus { NOT_SUBMITTED, SUBMITTED, - COMPLETION_REQUESTED + IMPROVEMENTS_NEEDED } diff --git a/core/src/main/java/se/su/dsv/scipro/reflection/ReflectionServiceImpl.java b/core/src/main/java/se/su/dsv/scipro/reflection/ReflectionServiceImpl.java index c3a4094ff9..f1eb806f26 100644 --- a/core/src/main/java/se/su/dsv/scipro/reflection/ReflectionServiceImpl.java +++ b/core/src/main/java/se/su/dsv/scipro/reflection/ReflectionServiceImpl.java @@ -60,7 +60,7 @@ class ReflectionServiceImpl implements ReflectionService { public void requestNewReflection(Project project, User user) { authorRepository.findByProjectAndUser(project, user) .ifPresent(author -> { - author.setReflectionStatus(ReflectionStatus.COMPLETION_REQUESTED); + author.setReflectionStatus(ReflectionStatus.IMPROVEMENTS_NEEDED); }); } }