aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Services/VaultService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/api/src/Services/VaultService.cs')
-rw-r--r--code/api/src/Services/VaultService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/api/src/Services/VaultService.cs b/code/api/src/Services/VaultService.cs
index 732911a..2f8d46e 100644
--- a/code/api/src/Services/VaultService.cs
+++ b/code/api/src/Services/VaultService.cs
@@ -31,7 +31,7 @@ public class VaultService
cacheEntry => {
cacheEntry.AbsoluteExpirationRelativeToNow = TimeSpan.FromSeconds(CACHE_TTL);
var getSecretResponse = _client.GetFromJsonAsync<GetSecretResponse<T>>("/v1/kv/data/" + path).Result;
-
+
if (getSecretResponse == null) {
return default;
}