diff options
Diffstat (limited to 'server')
| -rw-r--r-- | server/src/Services/VaultService.cs | 1 |
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; } |
