hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
https://wiki.openstreetmap.org/wiki/Tasking_Manager
BSD 2-Clause "Simplified" License
510 stars 275 forks source link

Bug fix in "backend.config.Settings" #6585

Closed Rojf closed 1 month ago

Rojf commented 1 month ago

What type of PR is this? (check all applicable)

Describe this PR

There are two problems here: 1) pedantic_core._pedantic_core.Validation Error: 1 validation error for Settings SENTRY_BACKEND_DSN

It was necessary to add Optional[str]

2) pedantic_or._pedantic_core.Validation Error: 3 validation errors for Connection Config MAIL_USERNAME MAIL_PASSWORD MAIL_SERVER

It should have been changed from None to "" The "ConnectionConfig" class is not optional for pydantic

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud