mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
lint fix
This commit is contained in:
parent
bf64de06b1
commit
a344011403
@ -242,13 +242,8 @@ export class TransactionResolver {
|
|||||||
offset--
|
offset--
|
||||||
}
|
}
|
||||||
const userTransactionRepository = getCustomRepository(UserTransactionRepository)
|
const userTransactionRepository = getCustomRepository(UserTransactionRepository)
|
||||||
let [userTransactions, userTransactionsCount] = await userTransactionRepository.findByUserPaged(
|
const [userTransactions, userTransactionsCount] =
|
||||||
user.id,
|
await userTransactionRepository.findByUserPaged(user.id, limit, offset, order, onlyCreations)
|
||||||
limit,
|
|
||||||
offset,
|
|
||||||
order,
|
|
||||||
onlyCreations,
|
|
||||||
)
|
|
||||||
skipFirstTransaction = userTransactionsCount > offset + limit
|
skipFirstTransaction = userTransactionsCount > offset + limit
|
||||||
const decay = !(currentPage > 1)
|
const decay = !(currentPage > 1)
|
||||||
let transactions: Transaction[] = []
|
let transactions: Transaction[] = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user