mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
chore(style): repo-wide prettier sweep before v1.4.6 tag
Long-overdue prettier sweep; prettier had drifted vs. checked-in code across ~130 files (mostly long-argument line-break wrapping in TS and table-padding in markdown). Pure formatting — no semantic changes — and required to clear the v1.4.6 release gate's `pnpm format:check`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
67575180b8
commit
02b99553b9
135 files changed
+2159
-1583
No files matched your search
@@ -38,8 +38,13 @@ export const GET = apiHandler(async (request: NextRequest) => {
|
||||
if (!["csv", "json"].includes(format)) {
|
||||
return apiError("Format must be csv or json", 422);
|
||||
}
|
||||
if (!["measurements", "medications", "intake", "mood", "all"].includes(type)) {
|
||||
return apiError("Type must be measurements, medications, intake, mood, or all", 422);
|
||||
if (
|
||||
!["measurements", "medications", "intake", "mood", "all"].includes(type)
|
||||
) {
|
||||
return apiError(
|
||||
"Type must be measurements, medications, intake, mood, or all",
|
||||
422,
|
||||
);
|
||||
}
|
||||
|
||||
const userId = user.id;
|
||||
|
||||
Reference in new issue
Block a user