Skip to content

Commit

Permalink
PIN-4999: Switch checks order
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed Jul 1, 2024
1 parent 20166c6 commit bd56c71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ final case class ClientApiServiceImpl(
val result: Future[Unit] = for {
clientUuid <- clientId.toFutureUUID
client <- authorizationManagementService.getClient(clientUuid)
_ <- assertUserIsMemberOfClient(client)
_ <- assertIsClientConsumer(client).toFuture
_ <- assertUserIsMemberOfClient(client)
_ <- authorizationManagementService.deleteKey(clientUuid, keyId)(contexts)
} yield ()

Expand Down

0 comments on commit bd56c71

Please sign in to comment.