Skip to content

Commit

Permalink
fix: Fixed admin default in config
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-pisman committed Oct 5, 2023
1 parent 91a5a30 commit 51f81a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unipoll_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Settings(BaseSettings): # type: ignore
app_description: str = Field(default=("An Open Source API for creating surveys and polls "
"to assist in university research."),
title="App Description", description="A description of the API.")
admin_email: EmailStr = Field(default="",
title="Admin Email", description="The email address of the admin of the API.")
admin_email: EmailStr = Field(default="admin@example.com",
title="Admin Email", description="The email address of the API administrator.")
mongodb_url: str = Field(default="mongodb://localhost:27017",
title="MongoDB URL", description="The URL of the MongoDB database.")
secrete_key: str = Field(default="secret", title="Secrete Key", description="The secrete key of the API.")
Expand Down

0 comments on commit 51f81a1

Please sign in to comment.