From 81b9c032cde94ffa77ad3b22e58119f5fbcce097 Mon Sep 17 00:00:00 2001 From: April Hall Date: Fri, 7 Feb 2025 11:19:31 -0500 Subject: [PATCH] fix: Replace '_' with '-' in table names --- src/routes/+layout.server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts index e4706b2..35485ea 100644 --- a/src/routes/+layout.server.ts +++ b/src/routes/+layout.server.ts @@ -8,7 +8,7 @@ export async function load() { const rows = await db.getChannels(); const channels: string[] = rows ? rows.map((value) => { - return value.table_name; + return value.table_name.replaceAll('_', '-'); }) : [];