|
|
@@ -75,8 +75,8 @@ export class CommissionService {
|
|
|
const result = (
|
|
|
await this.usersRepository
|
|
|
.createQueryBuilder()
|
|
|
- .where('users.invitor = :userId', { userId })
|
|
|
- .orderBy('CommissionRecord.createdAt', 'DESC')
|
|
|
+ .where('Users.invitor = :userId', { userId })
|
|
|
+ .orderBy('Users.createdAt', 'DESC')
|
|
|
.getMany()
|
|
|
).map((record) => {
|
|
|
return new CommissionRecordDto({
|