fix: server settings groups tab visible to owner

Server interface had 'ownerId' (camelCase) but API returns
'owner_id' (snake_case). isOwner was always false, hiding
groups/roles/audit tabs for the server owner.
This commit is contained in:
2026-07-02 11:47:53 -04:00
parent 5a7d4dc57e
commit 59f6a40882
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ export interface Server {
id: string;
name: string;
icon: string | null;
ownerId: string;
owner_id: string;
unread?: boolean;
}