Skip to content

Commit

Permalink
add the missing ingestorDomainNameOptions parameter when calling the …
Browse files Browse the repository at this point in the history
…ingestor construct buildApiEndpoint method
  • Loading branch information
emileten committed Aug 18, 2023
1 parent 385fdc1 commit 85aa219
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ingestor-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class StacIngestor extends Construct {
stage: props.stage,
endpointConfiguration: props.apiEndpointConfiguration,
policy: props.apiPolicy,
ingestorDomainNameOptions: props.ingestorDomainNameOptions,
});

this.buildIngestor({
Expand Down Expand Up @@ -193,6 +194,7 @@ export class StacIngestor extends Construct {
endpointConfiguration?: apigateway.EndpointConfiguration;
ingestorDomainNameOptions?: apigateway.DomainNameOptions;
}): apigateway.LambdaRestApi {

return new apigateway.LambdaRestApi(
this,
`${Stack.of(this).stackName}-ingestor-api`,
Expand Down

0 comments on commit 85aa219

Please sign in to comment.