Voeg bewerken van sociaal ondernemer toe (naam en slug)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-24 13:13:59 +02:00
parent 46f5ae4aeb
commit 46eecc31a4
4 changed files with 132 additions and 1 deletions
+6
View File
@@ -40,3 +40,9 @@ export function listAccounts(): (PlatformAccount & { user_count: number })[] {
)
.all() as (PlatformAccount & { user_count: number })[];
}
export function getAccount(id: number): PlatformAccount | undefined {
return getPlatformDb()
.prepare("SELECT * FROM accounts WHERE id = ?")
.get(id) as PlatformAccount | undefined;
}