From 4fc11a01aa06f18e327328e015994ec65f2e310a Mon Sep 17 00:00:00 2001 From: Celine Pelletier Date: Mon, 17 Jun 2024 15:31:49 -0400 Subject: [PATCH] fix: SKFP-1025 add missing decompress --- src/main/java/io/kidsfirst/core/service/SecretService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/kidsfirst/core/service/SecretService.java b/src/main/java/io/kidsfirst/core/service/SecretService.java index 5d0c860..e33d532 100644 --- a/src/main/java/io/kidsfirst/core/service/SecretService.java +++ b/src/main/java/io/kidsfirst/core/service/SecretService.java @@ -126,7 +126,7 @@ public Mono fetchDecryptAndDecompress(final String userId, final String public Mono 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())); }