adjust registered by to managed by on db aslo remove url and api key on adding sites for gm

This commit is contained in:
Alberto-Audrix committed 2026-09-11 16:18:04 +07:00
1 parent 64b37b6b6d
commit 521f36d22d
15 files changed
+112 -75

No files matched your search

+3 -3
View File
@@ -45,8 +45,8 @@ export type ActiveSite = {
name: string;
api_base_url: string;
has_api_key: boolean;
registered_by?: number | null;
registered_by_name?: string | null;
managed_by?: number | null;
managed_by_name?: string | null;
is_active: boolean;
last_synced_at: string | null;
last_sync_status: string;
@@ -58,7 +58,7 @@ export type ActiveSite = {
export type ActiveSiteWrite = {
code: string;
name: string;
api_base_url: string;
api_base_url?: string;
api_key?: string;
is_active?: boolean;
};