mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change query to query bui.
This commit is contained in:
parent
7a27bf52bf
commit
db609d1d78
@ -51,7 +51,7 @@ async function getUserCreations(id: number): Promise<number[]> {
|
||||
const transactionCreations = await getCustomRepository(TransactionCreationRepository)
|
||||
.createQueryBuilder()
|
||||
.select(['SUM(amount)'])
|
||||
.where('userId = :id', { id })
|
||||
.where('login_pending_tasks_admin.userId = :id', { id })
|
||||
.getMany()
|
||||
console.log('transactionCreations', transactionCreations)
|
||||
// SELECT * FROM pending_creations WHERE userId = id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user