Skip to content

Commit

Permalink
Merge pull request #150 from capstone-maru/feat/#116-sharedRoomPostImpl7
Browse files Browse the repository at this point in the history
fix #116 - NPE 문제 해결
  • Loading branch information
leejh7 authored May 10, 2024
2 parents c7acf34 + 0a91668 commit 5cbc295
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/capstone/maru/domain/FeatureCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void updateFeatureCard(FeatureCard featureCard) {
}

public void updateMemberFeatures(MemberFeatures memberFeatures) {
if (this.memberFeatures.equals(memberFeatures)) {
if (Objects.equals(this.memberFeatures, memberFeatures)) {
return;
}
this.memberFeatures = memberFeatures;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.capstone.maru.dto.request;

import java.util.List;
import org.capstone.maru.domain.jsonb.MemberFeatures;

public record MemberFeatureRequest(
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spring:
defer-datasource-initialization: true
show-sql: true
hibernate:
ddl-auto: create
ddl-auto: validate
properties:
hibernate:
format_sql: true
Expand Down

0 comments on commit 5cbc295

Please sign in to comment.