Skip to content

Commit

Permalink
Add interpolation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Jun 3, 2024
1 parent fa943ca commit ba9dd7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions store/settings/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class UserSettings:

@dataclass
class EmailSettings:
host: str = field(default=II("ROBOLIST_SMTP_HOST"))
host: str = field(default=II("oc.env:ROBOLIST_SMTP_HOST"))
port: int = field(default=587)
username: str = field(default=II("ROBOLIST_SMTP_USERNAME"))
password: str = field(default=II("ROBOLIST_SMTP_PASSWORD"))
sender_email: str = field(default=II("ROBOLIST_SMTP_SENDER_EMAIL"))
sender_name: str = field(default=II("ROBOLIST_SMTP_SENDER_NAME"))
username: str = field(default=II("oc.env:ROBOLIST_SMTP_USERNAME"))
password: str = field(default=II("oc.env:ROBOLIST_SMTP_PASSWORD"))
sender_email: str = field(default=II("oc.env:ROBOLIST_SMTP_SENDER_EMAIL"))
sender_name: str = field(default=II("oc.env:ROBOLIST_SMTP_SENDER_NAME"))


@dataclass
Expand Down

0 comments on commit ba9dd7d

Please sign in to comment.