Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/popular-insects-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/backend-function': patch
---

remove the workaround for no-misused-promises as it broke lambdas execution
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ await internalAmplifyFunctionResolveSsmParams();
const SSM_PARAMETER_REFRESH_MS = 1000 * 60;

setInterval(
void (async () => {
// eslint-disable-next-line @typescript-eslint/no-misused-promises
async () => {
try {
await internalAmplifyFunctionResolveSsmParams();
} catch (error) {
Expand All @@ -21,6 +22,6 @@ setInterval(
// Do nothing if logging fails
}
}
}),
},
SSM_PARAMETER_REFRESH_MS
);
Loading