mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
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:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -198,7 +198,10 @@ export const POST = apiHandler(async (request: NextRequest) => {
|
||||
// save that lands first leaves `count = 0` and the seed is
|
||||
// skipped rather than overwriting the user's fresh layout.
|
||||
const seeded = await prisma.user.updateMany({
|
||||
where: { id: user.id, dashboardWidgetsJson: { equals: Prisma.JsonNull } },
|
||||
where: {
|
||||
id: user.id,
|
||||
dashboardWidgetsJson: { equals: Prisma.JsonNull },
|
||||
},
|
||||
data: { dashboardWidgetsJson: toJson(seededLayout) },
|
||||
});
|
||||
goalsSeeded = seeded.count === 1;
|
||||
|
||||
Reference in new issue
Block a user