Skip to content

Commit

Permalink
feat: #28 add email in return when search for idir user (#56)
Browse files Browse the repository at this point in the history
* feat(28): add email in return when search for idir user, refs: #28

* fix: update dependabot changes
  • Loading branch information
MCatherine1994 authored Nov 29, 2023
1 parent a0b3490 commit fd83338
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
build_context: ./backend
steps:
- uses: actions/checkout@v4
- uses: bcgov-nr/action-builder-ghcr@v1.3.0
- uses: bcgov-nr/action-builder-ghcr@v2.0.0
with:
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@0.12.0
uses: aquasecurity/trivy-action@0.14.0
with:
format: "sarif"
output: "trivy-results.sarif"
Expand Down
3 changes: 3 additions & 0 deletions backend/src/modules/idim-webservice/idim-webservice.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ export class IDIRUserResponse {

@ApiProperty()
lastName: string;

@ApiProperty()
email: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export class IdimWebserviceService {
userInfo.individualIdentity.name.firstname.value;
response.lastName =
userInfo.individualIdentity.name.surname.value;
response.email = userInfo.contact.email.value;
resolve(response);
} else {
const response = new IDIRUserResponse();
Expand Down

0 comments on commit fd83338

Please sign in to comment.