From a3c99a08c30ad7a2134782b8eb5bac64d24892f6 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Mon, 22 Jun 2026 18:22:46 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20recordings=20endpoint=20500=20=E2=80=94?= =?UTF-8?q?=20column=20'transcription'=20doesn't=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SELECT transcription FROM voice_recordings fails because table has no such column - Removed non-existent transcription from SELECT and interface - Previous sql.raw() parameter binding also broken — fixed with proper drizzle sql`` --- services/backend/src/modules/recordings/recordings.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/backend/src/modules/recordings/recordings.service.ts b/services/backend/src/modules/recordings/recordings.service.ts index c233a25..0280879 100644 --- a/services/backend/src/modules/recordings/recordings.service.ts +++ b/services/backend/src/modules/recordings/recordings.service.ts @@ -17,7 +17,6 @@ export interface RecordingRow { download_url: string | null; upload_status: string; upload_error: string | null; - transcription: string | null; created_at: number; uploaded_at: number | null; duration_bytes: number; @@ -58,7 +57,7 @@ export class RecordingsService { SELECT id, user_id, username, avatar_url, guild_id, channel_id, channel_name, filename, size_bytes, download_url, - upload_status, upload_error, transcription, created_at, uploaded_at, + upload_status, upload_error, created_at, uploaded_at, COALESCE(size_bytes, 0) AS duration_bytes FROM voice_recordings ${whereClause}