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 372b49a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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
4 changes: 2 additions & 2 deletions lib/titiler-pgstac-api/runtime/src/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
)

from titiler.pgstac.main import app
from titiler.pgstac.db import connect_to_db
from titiler.pgstac.main import app # noqa: E402
from titiler.pgstac.db import connect_to_db # noqa: E402



Expand Down

0 comments on commit 372b49a

Please sign in to comment.