Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public static class UserResponseCourseDetail {
private Long userId;

public static UserResponseCourseDetail from(RunnectUser user) {
if (user == null) return null;
return new UserResponseCourseDetail(user.getId());
return new UserResponseCourseDetail(user != null ? user.getId() : -1);
}
}

Expand Down