Fix inverted TESTING environment variable check #23
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
`app/dependencies.py:33-34`. Check `if os.environ.get('TESTING') == 'False':` is backwards. Also `.env` has ` TESTING=TRUE` with a leading space.
Priority: low
Fixed in PR #40: #40
Two changes:
dependencies.py:33— flipped== 'False'to== 'True'so TESTING=True correctly routes to the dev URL.env:64— removed leading space (TESTING=TRUE→TESTING=True) so the env var is actually read, and normalized the casing to match the string comparison