Skip to content

Commit

Permalink
PIN-4084 Resolved PR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nttdata-rtorsoli committed Nov 24, 2023
1 parent 01b4a39 commit 9ff85d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/main/resources/interface-specification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,11 @@ components:
id:
type: string
format: uuid
externalId:
$ref: '#/components/schemas/ExternalId'
required:
- id
- id
- externalId
Tenant:
description: Tenant model
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ final case class TenantApiServiceImpl(
tenantKind <- getTenantKindLoadingCertifiedAttributes(tenant.attributes, tenant.externalId)
_ <- updateSelfcareId(tenant, tenantKind)
_ <- tenantManagementService.addTenantMail(tenant.id, seed.digitalAddress.toDependency)
} yield TenantUUID(tenant.id)
} yield TenantUUID(tenant.id, tenant.externalId.toApi)

onComplete(result) {
selfcareUpsertTenantResponse[TenantUUID](operationLabel)(selfcareUpsertTenant200)
Expand Down

0 comments on commit 9ff85d7

Please sign in to comment.