fix: coalesce to empty str

This commit is contained in:
Apoorv Mishra committed 2023-07-25 19:35:30 +05:30
1 parent 43a91626b2
commit 8b3c58a162
1 file changed
+1 -1
+1 -1
View File
@@ -617,7 +617,7 @@ export class Environment {
*/
@IsOptional()
@CannotUseWithout("IFRAMELY_URL")
public IFRAMELY_API_KEY = this.toOptionalString(process.env.IFRAMELY_API_KEY);
public IFRAMELY_API_KEY = process.env.IFRAMELY_API_KEY ?? "";
/**
* The product name