Skip to content

Commit

Permalink
more trust
Browse files Browse the repository at this point in the history
  • Loading branch information
avirlrma committed Aug 22, 2023
1 parent 1769dba commit 8c954d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public SetuConsentAPIRequest generateConsentRequest(String customerId) {
.fiTypes(SUPPORTED_FI_TYPES)
.build();

return new SetuConsentAPIRequest("", new ArrayList<>(), consentDetail);
//TODO: Localhost not right
return new SetuConsentAPIRequest("localhost:5002", new ArrayList<>(), consentDetail);
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.rupeesense.fi.model.data;

import java.time.LocalDateTime;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
Expand Down Expand Up @@ -80,7 +81,7 @@ public class Account {
private Holding holding;

@OneToMany(mappedBy = "account", cascade = CascadeType.ALL, fetch = FetchType.LAZY)
private Set<AccountHolder> holders;
private Set<AccountHolder> holders = new HashSet<>();

@Column(nullable = false)
@Enumerated(EnumType.STRING)
Expand Down

0 comments on commit 8c954d6

Please sign in to comment.