diff options
| author | Fuwn <[email protected]> | 2026-02-10 00:25:43 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-10 00:25:43 -0800 |
| commit | 1bf443a5a98d0c21c0bf622114b8f87fdac8a5a7 (patch) | |
| tree | 7e4f82001192fc10f154f868e4e2f2c2ea9ff3ae /apps/web/app/api/export/route.ts | |
| parent | docs: replace boilerplate README with project documentation (diff) | |
| download | asa.news-1bf443a5a98d0c21c0bf622114b8f87fdac8a5a7.tar.xz asa.news-1bf443a5a98d0c21c0bf622114b8f87fdac8a5a7.zip | |
refactor: use Supabase Auth display name instead of custom column
Migrate existing display names from user_profiles to auth.users
user_metadata. Drop display_name column from user_profiles. Frontend
now reads from auth user metadata and updates via auth.updateUser().
Diffstat (limited to 'apps/web/app/api/export/route.ts')
| -rw-r--r-- | apps/web/app/api/export/route.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/app/api/export/route.ts b/apps/web/app/api/export/route.ts index dff7582..65a4327 100644 --- a/apps/web/app/api/export/route.ts +++ b/apps/web/app/api/export/route.ts @@ -19,7 +19,7 @@ export async function GET() { const { data: profile } = await supabaseClient .from("user_profiles") - .select("tier, display_name") + .select("tier") .eq("id", user.id) .single() |