Use asterisk instead of null

This commit is contained in:
Mel O'Hagan 2023-09-09 00:04:42 +01:00
parent 1f4c608882
commit c860a75978
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
datasource.source === IntegrationTypes.DYNAMODB || datasource.source === IntegrationTypes.DYNAMODB ||
datasource.source === IntegrationTypes.S3 datasource.source === IntegrationTypes.S3
) { ) {
return `${datasource.config.endpoint}:${datasource.config.region}` return `${datasource.config.endpoint || "*"}:${datasource.config.region}`
} }
if (datasource.source === IntegrationTypes.ELASTICSEARCH) { if (datasource.source === IntegrationTypes.ELASTICSEARCH) {
return datasource.config.url return datasource.config.url