Skip to content

Commit

Permalink
PIN-3515 Resolved PR issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nttdata-rtorsoli committed Oct 25, 2023
1 parent 859ac61 commit 443fe43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ final case class ClientApiServiceImpl(
.getClient(clientUuid)
.ensureOr(client => OrganizationNotAllowedOnClient(clientId, client.consumerId))(_.consumerId == requesterOrgId)
_ <- client.users.find(_ == requesterUserId).toFuture(UserNotFound(selfcareId, requesterUserId))
user <- assertSecurityUser(selfcareId, requesterOrgId, requesterUserId)
_ <- assertSecurityUser(selfcareId, requesterOrgId, requesterUserId)
seeds = keysSeeds.map(_.toDependency(requesterUserId, dateTimeSupplier.get()))
keysResponse <- authorizationManagementService.createKeys(clientUuid, seeds)(contexts)
} yield Keys(keysResponse.keys.map(_.toApi))
Expand Down

0 comments on commit 443fe43

Please sign in to comment.