Voeg bewerken van sociaal ondernemer toe (naam en slug)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user