Skip to content

Commit

Permalink
fix: SKFP-1025 add missing decompress
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed Jun 17, 2024
1 parent a302074 commit 4fc11a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/kidsfirst/core/service/SecretService.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public Mono<String> fetchDecryptAndDecompress(final String userId, final String
public Mono<String> fetchAndDecryptNotExpired(final String userId, final String service) {
return getSecret(service, userId)
.filter(Secret::notExpired)
.flatMap(s -> kmsService.decrypt(s.getSecret()));
.flatMap(s -> kmsService.decryptAndDecompress(s.getSecret()));

}

Expand Down

0 comments on commit 4fc11a0

Please sign in to comment.