Remove hardcoded bearer token from source files #2
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-card-creation#2
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?
db_calls.py:7contains a hardcoded API bearer token. Same token duplicated in.claude/ops-rework/check_prod_missing_ratings.py:6. Should be loaded from an environment variable or.envfile.Priority: high | Labels: security
Fixed in PR #44: #44
Removed the hardcoded token from
db_calls.pyand.claude/ops-rework/check_prod_missing_ratings.py. Both now callload_dotenv()and readPD_API_TOKENfrom the environment. The.envfile (already gitignored) already had the key defined. Addedpython-dotenvas a project dependency.Note: the token was already committed to git history — you should rotate it in the Paper Dynasty API admin panel.