Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Object Creation error on graphQl object #OP-1670 #187

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading