Skip to content

Commit

Permalink
Merge branch 'release/0.0.3' of https://github.com/29ana-notai/Team29_BE
Browse files Browse the repository at this point in the history
 into release/0.0.3
  • Loading branch information
yugyeom-ghim committed Nov 15, 2024
2 parents 07a4111 + 8549e82 commit f2b331e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/notai/recording/domain/Recording.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void updateFilePath(FilePath filePath) {
}

public void validateDocumentOwnership(Document document) {
if (this.document.getId().equals(document.getId())) {
if (!this.document.getId().equals(document.getId())) {
throw new NotFoundException(RECORDING_NOT_FOUND);
}
}
Expand Down

0 comments on commit f2b331e

Please sign in to comment.