minor tweaks

This commit is contained in:
Brian Hackett
2025-03-31 13:23:07 -07:00
parent fb8e0eff47
commit 69da8cf043
2 changed files with 5 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ export function DeployChatButton() {
<>
<h2 className="text-xl font-semibold text-center mb-4">Deploy</h2>
<div className="text-center mb-4">
Deploy this chat's project to production.
Deploy this chat's app to production.
</div>
{deploySettings?.siteURL && (

View File

@@ -183,8 +183,12 @@ export async function databaseUpdateChatTitle(id: string, title: string): Promis
}
export async function databaseGetChatDeploySettings(id: string): Promise<DeploySettingsDatabase | undefined> {
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;
}