mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 05:42:27 +00:00
@ -14,7 +14,8 @@ export class CustomerRepository {
|
|||||||
findOne(where: FindOptionsWhere<Customer>) {
|
findOne(where: FindOptionsWhere<Customer>) {
|
||||||
return this.customerRepository.findOne({
|
return this.customerRepository.findOne({
|
||||||
where,
|
where,
|
||||||
relations: ['user', 'civilIdFront', 'civilIdBack', 'cards'],
|
relations: ['user', 'cards'],
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user