Skip to content

Commit

Permalink
fix : conflict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eseas committed Feb 11, 2025
1 parent d44cb07 commit ca0b025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.seveneleven.entity.global.BaseEntity;
import com.seveneleven.entity.global.YesNo;
import com.seveneleven.entity.global.converter.YesNoConverter;
import jakarta.persistence.*;
import lombok.AccessLevel;
import lombok.Getter;
Expand All @@ -23,13 +24,13 @@ public class ProjectTag extends BaseEntity {

private String tag;

@Enumerated(EnumType.STRING)
private YesNo IsActive;
@Convert(converter = YesNoConverter.class)
private YesNo isActive;

public ProjectTag(Project project, String tag) {
this.project = project;
this.tag = tag;
IsActive = YesNo.YES;
isActive = YesNo.YES;
}

public static ProjectTag create(Project project, String tag) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public GetProjectDetail.Response getProjectDetail(Long projectId) {

@Override
public PatchProjectCurrentStep.Response patchProjectCurrentStep(Long projectId, Long stepId) {
Project project = getProject(projectId);
Project project = projectReader.read(projectId);
ProjectStep projectStep = stepReader.read(stepId);

return PatchProjectCurrentStep.Response.toDto(
Expand Down

0 comments on commit ca0b025

Please sign in to comment.