fix: Replace '_' with '-' in table names

This commit is contained in:
April Hall 2025-02-07 11:19:31 -05:00
parent e8f634f759
commit 81b9c032cd
No known key found for this signature in database
GPG Key ID: A49AC35CB186266C

View File

@ -8,7 +8,7 @@ export async function load() {
const rows = await db.getChannels(); const rows = await db.getChannels();
const channels: string[] = rows const channels: string[] = rows
? rows.map((value) => { ? rows.map((value) => {
return value.table_name; return value.table_name.replaceAll('_', '-');
}) })
: []; : [];