Skip to content

Commit 12561b4

Browse files
committed
fix: incorrect function name
1 parent 3a081ed commit 12561b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class ServerlessLambdaEdgePreExistingCloudFront {
121121
const versions = await this.provider.request('Lambda', 'listVersionsByFunction', args)
122122

123123
if (versions.NextMarker !== null) {
124-
return await this.getlatestVersion(functionName, versions.NextMarker)
124+
return await this.getlatestVersionLambdaArn(functionName, versions.NextMarker)
125125
}
126126
let arn
127127
versions.Versions.forEach(async (functionObj) => {

0 commit comments

Comments
 (0)