Skip to content

Commit

Permalink
Update: pr 자동 머지 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobhboy committed Mar 26, 2024
1 parent a133419 commit 657ee6a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ public Long execute(String bearer, String title, DocsUpdateRequestDto docsUpdate
Docs foundDocs = findDocsByTitle(title);
validate(authId, foundDocs);

if (foundDocs.getStatus() == Status.CONFLICTED) {
throw new DocsConflictedException();
}
//TODO merge 왜 빨리 됐냐 ㄷㄷ
// if (foundDocs.getStatus() == Status.CONFLICTED) {
// throw new DocsConflictedException();
// }
VersionDocs savedVersionDocs = saveVersionDocs(docsUpdateRequestDto, foundDocs.getId(),
foundDocs.getLastVersion());
Docs docs;
Expand Down

0 comments on commit 657ee6a

Please sign in to comment.