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; }