style: apply prettier across the tree

One-shot prettier pass so the new format:check gate starts from a clean
baseline. Formatting only — no behaviour change. Generator-owned and
vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
Marc-André Bombeck committed 2026-06-19 22:20:31 +02:00
1 parent b3fea2ef59
commit 1f4ba5939d
1000 files changed
+12130 -8385

No files matched your search

+4 -1
View File
@@ -79,7 +79,10 @@ export const GET = apiHandler(async (request: NextRequest) => {
// Guard against an off-spec token body without `x_user_id`: persisting the
// string "undefined" as the member id would break every later data read
// (`/v3/users/undefined/...`) with no clear cause.
if (typeof tokens.x_user_id !== "number" || !Number.isFinite(tokens.x_user_id)) {
if (
typeof tokens.x_user_id !== "number" ||
!Number.isFinite(tokens.x_user_id)
) {
return ERR("token");
}
const polarUserId = String(tokens.x_user_id);