- Create src/app/api/auth/profile/route.ts with PUT handler - Validates user is authenticated (returns 401 if not) - Validates request body has a non-empty name field - Updates user's name in the database - Returns 200 with updated user data Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
No EOL
350 B
JSON
20 lines
No EOL
350 B
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1771332001387,
|
|
"tag": "0000_nifty_gauntlet",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "7",
|
|
"when": 1771577402984,
|
|
"tag": "0001_daffy_zaladane",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |