Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2cb867

Browse files
Fix bug
1 parent 0c75156 commit d2cb867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/main/java/com/example/tasklist/service/impl/TaskServiceImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Task create(
8989
final Task task,
9090
final Long userId
9191
) {
92-
if (task.getStatus() != null) {
92+
if (task.getStatus() == null) {
9393
task.setStatus(Status.TODO);
9494
}
9595
taskRepository.save(task);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /