Skip to content

Commit

Permalink
fix serverless config
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzacat83 committed Mar 26, 2023
1 parent 5981760 commit d4766c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/serverless/lib/sts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { STS } = require('@aws-sdk/client-sts');
const sts = new STS();

module.exports.accountId = async () => (await sts.getCallerIdentity().promise()).Account;
module.exports.accountId = async () => (await sts.getCallerIdentity({})).Account;

0 comments on commit d4766c5

Please sign in to comment.