diff --git a/packages/helix-shared-secrets/src/aws-secretsmanager.js b/packages/helix-shared-secrets/src/aws-secretsmanager.js index 03453c9a..7a7f7da5 100644 --- a/packages/helix-shared-secrets/src/aws-secretsmanager.js +++ b/packages/helix-shared-secrets/src/aws-secretsmanager.js @@ -96,7 +96,7 @@ export default class SecretsManager { } throw Error(`Failed to invoke ${target} (${resp.status}): ${await resp.text()}`); } - return resp.json(); + return await resp.json(); } finally { await fetchContext.reset(); }