Skip to content

Commit

Permalink
Merge pull request #954 from bakaphp/hotfix-leads-delete-test
Browse files Browse the repository at this point in the history
refact: leads delete test
  • Loading branch information
kaioken committed Feb 18, 2024
2 parents cc26367 + e30a1f3 commit 1aaf729
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions graphql/schemas/Ecosystem/user.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ input RegisterInput {
password: String! @rules(apply: ["required", "min:8"])
password_confirmation: String! @rules(apply: ["required"])
company_name: String
phone_number: String
custom_fields: [CustomFieldEntityInput!]
}

Expand Down
3 changes: 2 additions & 1 deletion src/Kanvas/Auth/DataTransferObject/RegisterInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public static function viaRequest(Request $request): self
password: Hash::make($request->get('password')),
default_company: $request->get('default_company') ?? null,
role_ids: $roles,
custom_fields: $request->get('custom_fields') ?? []
custom_fields: $request->get('custom_fields') ?? [],
phone_number: $request->get('phone_number') ?? null,
);
}

Expand Down

0 comments on commit 1aaf729

Please sign in to comment.