mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove unused code
This commit is contained in:
parent
5c9c63aa07
commit
0f90f960ce
@ -4,15 +4,9 @@ import { User } from '@entity/User'
|
||||
@EntityRepository(User)
|
||||
export class UserRepository extends Repository<User> {
|
||||
async findByPubkeyHex(pubkeyHex: string): Promise<User> {
|
||||
const user = await this.createQueryBuilder('user')
|
||||
return await this.createQueryBuilder('user')
|
||||
.where('hex(user.pubKey) = :pubkeyHex', { pubkeyHex })
|
||||
.getOneOrFail()
|
||||
/*
|
||||
user.emailContact = await this.createQueryBuilder('userContact')
|
||||
.where('userContact.id = :user.emailId', { user.emailId })
|
||||
.getOneOrFail()
|
||||
*/
|
||||
return user
|
||||
}
|
||||
|
||||
async findBySearchCriteriaPagedFiltered(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user