From 69da8cf0435ac9efddc72e390100dc1cc6cc4fd7 Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Mon, 31 Mar 2025 13:23:07 -0700 Subject: [PATCH] minor tweaks --- app/components/header/DeployChatButton.tsx | 2 +- app/lib/persistence/db.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/components/header/DeployChatButton.tsx b/app/components/header/DeployChatButton.tsx index 8a0ae949..5d51c25b 100644 --- a/app/components/header/DeployChatButton.tsx +++ b/app/components/header/DeployChatButton.tsx @@ -173,7 +173,7 @@ export function DeployChatButton() { <>

Deploy

- Deploy this chat's project to production. + Deploy this chat's app to production.
{deploySettings?.siteURL && ( diff --git a/app/lib/persistence/db.ts b/app/lib/persistence/db.ts index 477cb62d..bdf888e8 100644 --- a/app/lib/persistence/db.ts +++ b/app/lib/persistence/db.ts @@ -183,8 +183,12 @@ export async function databaseUpdateChatTitle(id: string, title: string): Promis } export async function databaseGetChatDeploySettings(id: string): Promise { + console.log('DatabaseGetChatDeploySettingsStart', id); + const { data, error } = await getSupabase().from('chats').select('deploy_settings').eq('id', id); + console.log('DatabaseGetChatDeploySettingsDone', id, data, error); + if (error) { throw error; }