fix(dashboard): get properties and createdAt for profiles

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-11 12:18:10 +02:00
parent 96a5447f13
commit 3e19f90e51
2 changed files with 1 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ export async function getProfiles(ids: string[], projectId: string) {
}
const data = await chQuery<IClickhouseProfile>(
`SELECT id, first_name, last_name, email, avatar, is_external
`SELECT id, first_name, last_name, email, avatar, is_external, properties, created_at
FROM ${TABLE_NAMES.profiles} FINAL
WHERE
project_id = ${escape(projectId)} AND