Skip to content

Commit a35be82

Browse files
committed
Add default value for secret key
1 parent ae168a2 commit a35be82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AppSettings(BaseSettings):
2121

2222

2323
class CryptSettings(BaseSettings):
24-
SECRET_KEY: SecretStr
24+
SECRET_KEY: SecretStr = SecretStr("secret-key")
2525
ALGORITHM: str = "HS256"
2626
ACCESS_TOKEN_EXPIRE_MINUTES: int = 30
2727
REFRESH_TOKEN_EXPIRE_DAYS: int = 7

0 commit comments

Comments
 (0)