summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/Services/VaultService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/Services/VaultService.cs b/server/src/Services/VaultService.cs
index f6d0ad8..a7ae57f 100644
--- a/server/src/Services/VaultService.cs
+++ b/server/src/Services/VaultService.cs
@@ -29,6 +29,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;
}