From 4cc0ff910de881df4ddb22450bfade2560771177 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 2 Feb 2026 21:29:37 -0700 Subject: [PATCH] Bruh how --- src/routes/berrydash/chatroom/report/post.ts | 2 +- src/routes/berrydash/profile/posts/delete.ts | 2 +- src/routes/berrydash/profile/posts/post.ts | 2 +- src/routes/berrydash/profile/posts/put.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/berrydash/chatroom/report/post.ts b/src/routes/berrydash/chatroom/report/post.ts index 20505b7..3537009 100644 --- a/src/routes/berrydash/chatroom/report/post.ts +++ b/src/routes/berrydash/chatroom/report/post.ts @@ -22,7 +22,7 @@ export async function handler (context: Context) { { success: false, message: 'Failed to connect to database' }, 500 ) - const { connection: connection0, db: db0 } = dbInfo1 + const { connection: connection0, db: db0 } = dbInfo0 const { connection: connection1, db: db1 } = dbInfo1 const ip = getClientIp(context) diff --git a/src/routes/berrydash/profile/posts/delete.ts b/src/routes/berrydash/profile/posts/delete.ts index 9c8c50c..c0717ed 100644 --- a/src/routes/berrydash/profile/posts/delete.ts +++ b/src/routes/berrydash/profile/posts/delete.ts @@ -17,7 +17,7 @@ export async function handler (context: Context) { { success: false, message: 'Failed to connect to database', data: null }, 500 ) - const { connection: connection0, db: db0 } = dbInfo1 + const { connection: connection0, db: db0 } = dbInfo0 const { connection: connection1, db: db1 } = dbInfo1 const ip = getClientIp(context) diff --git a/src/routes/berrydash/profile/posts/post.ts b/src/routes/berrydash/profile/posts/post.ts index 2f37711..c82d09e 100644 --- a/src/routes/berrydash/profile/posts/post.ts +++ b/src/routes/berrydash/profile/posts/post.ts @@ -20,7 +20,7 @@ export async function handler (context: Context) { { success: false, message: 'Failed to connect to database', data: null }, 500 ) - const { connection: connection0, db: db0 } = dbInfo1 + const { connection: connection0, db: db0 } = dbInfo0 const { connection: connection1, db: db1 } = dbInfo1 const ip = getClientIp(context) diff --git a/src/routes/berrydash/profile/posts/put.ts b/src/routes/berrydash/profile/posts/put.ts index 2dc5890..6f9d5ce 100644 --- a/src/routes/berrydash/profile/posts/put.ts +++ b/src/routes/berrydash/profile/posts/put.ts @@ -17,7 +17,7 @@ export async function handler (context: Context) { { success: false, message: 'Failed to connect to database', data: null }, 500 ) - const { connection: connection0, db: db0 } = dbInfo1 + const { connection: connection0, db: db0 } = dbInfo0 const { connection: connection1, db: db1 } = dbInfo1 const ip = getClientIp(context)