aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app/api
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/app/api')
-rw-r--r--apps/web/src/app/api/store/route.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/src/app/api/store/route.ts b/apps/web/src/app/api/store/route.ts
index 8b2ad8ce..af7fa76e 100644
--- a/apps/web/src/app/api/store/route.ts
+++ b/apps/web/src/app/api/store/route.ts
@@ -80,7 +80,6 @@ export async function POST(req: NextRequest) {
storeToSpace = "none";
}
- // Count the number of stored content of the user
const count = await db
.select({
count: sql<number>`count(*)`.mapWith(Number),
@@ -88,7 +87,7 @@ export async function POST(req: NextRequest) {
.from(storedContent)
.where(eq(storedContent.user, session.user.id));
- console.log(count[0].count);
+ console.log("count", count[0].count);
const storedContentId = await db.insert(storedContent).values({
content: data.pageContent,