Commit 5cd34ff 1 parent 570a7e0 commit 5cd34ff Copy full SHA for 5cd34ff
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export async function getTemplateInfo(formID: string): Promise<TemplateInfo> {
14
14
const postgresConnector =
15
15
await PostgresConnector . defaultUsingPostgresConnectionUrlFromAwsSecret (
16
16
process . env . DB_URL ?? "" ,
17
- Boolean ( process . env . LOCALSTACK )
17
+ process . env . LOCALSTACK === "true"
18
18
) ;
19
19
20
20
// Due to Localstack limitations we have to define aliases for fields that have the same name
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export async function getTemplateInfo(formID: string): Promise<TemplateInfo | nu
15
15
const postgresConnector =
16
16
await PostgresConnector . defaultUsingPostgresConnectionUrlFromAwsSecret (
17
17
process . env . DB_URL ?? "" ,
18
- Boolean ( process . env . LOCALSTACK )
18
+ process . env . LOCALSTACK === "true"
19
19
) ;
20
20
21
21
const templates = await postgresConnector . executeSqlStatement ( ) <
You can’t perform that action at this time.
0 commit comments