Skip to content

Commit

Permalink
fix: (a)wait for response (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
tripodsan authored Jun 7, 2024
1 parent e043125 commit ae563b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/helix-shared-secrets/src/aws-secretsmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit ae563b1

Please sign in to comment.