mirror of
https://github.com/outline/outline.git
synced 2026-12-06 03:05:08 +03:00
fix: coalesce to empty str
This commit is contained in:
1 parent
43a91626b2
commit
8b3c58a162
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user