Skip to content

Commit

Permalink
Merge pull request #187 from openimis/fixOP-167
Browse files Browse the repository at this point in the history
fix Object Creation error on graphQl object #OP-1670
  • Loading branch information
delcroip authored Dec 15, 2023
2 parents 989484b + 623966f commit c10cac9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class CreateInsureeGraphQLRequest extends BaseGraphQLRequest {
public CreateInsureeMutation.Data create(@NonNull Family.Member member) throws Exception {
Response<CreateInsureeMutation.Data> response = makeSynchronous(new CreateInsureeMutation(
CreateInsureeMutationInput.builder()
.id(member.getId())
.chfId(member.getChfId())
.uuid(member.getUuid())
.familyId(member.getFamilyId())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public class CreatePolicyGraphQLRequest extends BaseGraphQLRequest {
public CreatePolicyMutation.Data create(@NonNull Family.Policy policy) throws Exception {
Response<CreatePolicyMutation.Data> response = makeSynchronous(new CreatePolicyMutation(
CreatePolicyMutationInput.builder()
.id(policy.getId())
.uuid(policy.getUuid())
.familyId(policy.getFamilyId())
.enrollDate(policy.getEnrollDate())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class CreatePremiumGraphQLRequest extends BaseGraphQLRequest {
public CreatePremiumMutation.Data create(@NonNull Family.Policy.Premium premium) throws Exception {
Response<CreatePremiumMutation.Data> response = makeSynchronous(new CreatePremiumMutation(
CreatePremiumMutationInput.builder()
.id(premium.getId())
.policyUuid(premium.getPolicyUuid())
.amount(premium.getAmount())
.receipt(premium.getReceipt())
Expand Down

0 comments on commit c10cac9

Please sign in to comment.