Use frontend-selected characters instead of fetching recent ones

This commit is contained in:
Riccardo Giorato
2025-12-26 21:57:25 +01:00
parent ddf05e6259
commit a618754337
6 changed files with 278 additions and 93 deletions
+2
View File
@@ -21,6 +21,7 @@ export async function GET() {
id: stories.id,
title: stories.title,
slug: stories.slug,
style: stories.style,
createdAt: stories.createdAt,
pageCount: pages.pageNumber,
coverImage: pages.generatedImageUrl,
@@ -41,6 +42,7 @@ export async function GET() {
id: row.id,
title: row.title,
slug: row.slug,
style: row.style,
createdAt: row.createdAt,
pageCount: 0,
coverImage: null,