mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 12:36:50 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
6498030a98
commit
28e2007389
1 changed files with 3 additions and 1 deletions
|
|
@ -16,6 +16,8 @@ export interface AgentInstance {
|
|||
telegram_first_message_received_at: string | null;
|
||||
telegram_connected_at: string | null;
|
||||
telegram_onboarding_completed: boolean;
|
||||
onboarding_completed: boolean;
|
||||
agent_name: string | null;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
|
|
@ -31,7 +33,7 @@ export function useAgentInstance() {
|
|||
const { data, error } = await supabase
|
||||
.from("agent_instances")
|
||||
.select(
|
||||
"id, user_id, uuid_tenant, status, telegram_bot_username, telegram_bot_token_vault_id, telegram_webhook_configured, telegram_token_invalid, telegram_first_message_received_at, telegram_connected_at, telegram_onboarding_completed, created_at",
|
||||
"id, user_id, uuid_tenant, status, telegram_bot_username, telegram_bot_token_vault_id, telegram_webhook_configured, telegram_token_invalid, telegram_first_message_received_at, telegram_connected_at, telegram_onboarding_completed, onboarding_completed, agent_name, created_at",
|
||||
)
|
||||
.eq("user_id", user!.id)
|
||||
.maybeSingle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue