mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove console log
This commit is contained in:
parent
46389ca2e4
commit
e8625cb5af
@ -56,7 +56,6 @@ export class AdminResolver {
|
|||||||
): Promise<SearchUsersResult> {
|
): Promise<SearchUsersResult> {
|
||||||
const userRepository = getCustomRepository(UserRepository)
|
const userRepository = getCustomRepository(UserRepository)
|
||||||
|
|
||||||
console.log('searchUsers')
|
|
||||||
const filterCriteria: ObjectLiteral[] = []
|
const filterCriteria: ObjectLiteral[] = []
|
||||||
if (notActivated) {
|
if (notActivated) {
|
||||||
filterCriteria.push({ emailChecked: false })
|
filterCriteria.push({ emailChecked: false })
|
||||||
@ -351,7 +350,6 @@ export class AdminResolver {
|
|||||||
{ currentPage = 1, pageSize = 25, order = Order.DESC }: Paginated,
|
{ currentPage = 1, pageSize = 25, order = Order.DESC }: Paginated,
|
||||||
@Arg('userId', () => Int) userId: number,
|
@Arg('userId', () => Int) userId: number,
|
||||||
): Promise<Transaction[]> {
|
): Promise<Transaction[]> {
|
||||||
|
|
||||||
const offset = (currentPage - 1) * pageSize
|
const offset = (currentPage - 1) * pageSize
|
||||||
const transactionRepository = getCustomRepository(TransactionRepository)
|
const transactionRepository = getCustomRepository(TransactionRepository)
|
||||||
const [userTransactions] = await transactionRepository.findByUserPaged(
|
const [userTransactions] = await transactionRepository.findByUserPaged(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user