Address 500 errors on `/api/discord/verify-code` and `/api/achievements/activate` by ensuring necessary environment variables are configured on Vercel and adding the missing `earned_at` column to the `user_achievements` table. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 795c6f7e-39c8-432e-aac4-5480a5574d55 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee Replit-Helium-Checkpoint-Created: true |
||
|---|---|---|
| .. | ||
| Pasted-index-DqjNa4LQ-js-1158-Skipped-loading-agent-runtime-Er_1764725788566.txt | ||