Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/api/goals/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ try {
let safeDeadline: string | null = null;
if (typeof deadline === "string") {
const d = new Date(deadline);
if (!isNaN(d.getTime())) {
if (!Number.isNaN(d.getTime())) {
d.setUTCHours(23, 59, 59, 999);
safeDeadline = d.toISOString();
}
Expand Down
3 changes: 2 additions & 1 deletion src/app/api/personality/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,5 @@
);

return NextResponse.json({ data: report, cached: false });
}
}
.catch(err => console.error("Promise.all failed:", err));

Check failure on line 296 in src/app/api/personality/route.ts

View workflow job for this annotation

GitHub Actions / Type check

';' expected.

Check failure on line 296 in src/app/api/personality/route.ts

View workflow job for this annotation

GitHub Actions / Type check

')' expected.

Check failure on line 296 in src/app/api/personality/route.ts

View workflow job for this annotation

GitHub Actions / Type check

'try' expected.

Check failure on line 296 in src/app/api/personality/route.ts

View workflow job for this annotation

GitHub Actions / Type check

Declaration or statement expected.
2 changes: 2 additions & 0 deletions src/app/u/[username]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -710,3 +710,5 @@
</div>
);
}

.catch(err => console.error("Promise.all failed:", err));

Check failure on line 714 in src/app/u/[username]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

';' expected.

Check failure on line 714 in src/app/u/[username]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

')' expected.

Check failure on line 714 in src/app/u/[username]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

'try' expected.

Check failure on line 714 in src/app/u/[username]/page.tsx

View workflow job for this annotation

GitHub Actions / Type check

Declaration or statement expected.
Loading